projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nice, first bit of auto-help
[feisty_meow.git]
/
scripts
/
site_avenger
/
avcoreup.sh
diff --git
a/scripts/site_avenger/avcoreup.sh
b/scripts/site_avenger/avcoreup.sh
index 7ae0b6bacb7e0e8346fa848eb77775a2e902515e..2fc6e46cbb6a6a62cc2ba9c949accdb8e379d6af 100644
(file)
--- a/
scripts/site_avenger/avcoreup.sh
+++ b/
scripts/site_avenger/avcoreup.sh
@@
-36,7
+36,7
@@
full_app_dir="$APPLICATION_DIR/$app_dirname"
# simplistic approach here; just go to the folder and pull the changes.
pushd "$full_app_dir" &>/dev/null
# simplistic approach here; just go to the folder and pull the changes.
pushd "$full_app_dir" &>/dev/null
-
check_result
"Changing to app path '$full_app_dir'"
+
test_or_fail
"Changing to app path '$full_app_dir'"
dir="avenger5/vendor/siteavenger/avcore"
if [ ! -d $dir ]; then
dir="avenger5/vendor/siteavenger/avcore"
if [ ! -d $dir ]; then
@@
-45,7
+45,7
@@
else
pushd "$dir" &>/dev/null
git pull
pushd "$dir" &>/dev/null
git pull
-
check_result
"Pulling git repo for avcore under '$full_app_dir'"
+
test_or_fail
"Pulling git repo for avcore under '$full_app_dir'"
echo "Finished updating the avcore portion of site in ${app_dirname}."
echo "Finished updating the avcore portion of site in ${app_dirname}."