projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added svn projects to checkin list sought for apps
[feisty_meow.git]
/
scripts
/
site_avenger
/
avcoreup.sh
diff --git
a/scripts/site_avenger/avcoreup.sh
b/scripts/site_avenger/avcoreup.sh
index f759494973e4b686b50d8d61807810e89869dfef..106c1fd3ef76be3234ac92d7a03637ddb180c240 100644
(file)
--- a/
scripts/site_avenger/avcoreup.sh
+++ b/
scripts/site_avenger/avcoreup.sh
@@
-5,7
+5,7
@@
# updates just the site avenger core portion of an app.
# updates just the site avenger core portion of an app.
-export
WORK
DIR="$( \cd "$(\dirname "$0")" && \pwd )" # obtain the script's working directory.
+export
THIS
DIR="$( \cd "$(\dirname "$0")" && \pwd )" # obtain the script's working directory.
############################
############################
@@
-14,22
+14,23
@@
export WORKDIR="$( \cd "$(\dirname "$0")" && \pwd )" # obtain the script's work
# check for parameters.
app_dirname="$1"; shift
# check for parameters.
app_dirname="$1"; shift
-source "$
WORK
DIR/shared_site_mgr.sh"
+source "$
THIS
DIR/shared_site_mgr.sh"
sep
sep
-check_app
lication_dir "$APPLICATION_DIR
"
+check_app
s_root "$BASE_APPLICATION_PATH
"
# find proper webroot where the site will be initialized.
if [ -z "$app_dirname" ]; then
# no dir was passed, so guess it.
# find proper webroot where the site will be initialized.
if [ -z "$app_dirname" ]; then
# no dir was passed, so guess it.
- find_app_folder "$
APPLICATION_DIR
"
+ find_app_folder "$
BASE_APPLICATION_PATH
"
else
else
- test_app_folder "$
APPLICATION_DIR
" "$app_dirname"
+ test_app_folder "$
BASE_APPLICATION_PATH
" "$app_dirname"
fi
fi
+test_or_die "finding and testing app folder"
# where we expect to find our checkout folder underneath.
# where we expect to find our checkout folder underneath.
-full_app_dir="$
APPLICATION_DIR
/$app_dirname"
+full_app_dir="$
BASE_APPLICATION_PATH
/$app_dirname"
# simplistic approach here; just go to the folder and pull the changes.
# simplistic approach here; just go to the folder and pull the changes.