projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
very nice, nearly there...
[feisty_meow.git]
/
scripts
/
rev_control
/
rgetem.sh
diff --git
a/scripts/rev_control/rgetem.sh
b/scripts/rev_control/rgetem.sh
index 6e096279951bbde23b26f24fed54d6c1b7e18da1..4c29c03863912887cf0e7b356fa6c7fdec437856 100644
(file)
--- a/
scripts/rev_control/rgetem.sh
+++ b/
scripts/rev_control/rgetem.sh
@@
-4,17
+4,22
@@
# working directory. all the directories under the passed directory will
# be examined.
# working directory. all the directories under the passed directory will
# be examined.
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
+source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
+
+##############
+
dir="$1"; shift
if [ -z "$dir" ]; then
dir=.
fi
dir="$1"; shift
if [ -z "$dir" ]; then
dir=.
fi
-source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
-source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
-
pushd "$dir" &>/dev/null
pushd "$dir" &>/dev/null
+test_or_die "changing to directory: $dir"
tempfile=$(generate_rev_ctrl_filelist)
tempfile=$(generate_rev_ctrl_filelist)
+test_or_die "generating revision control file list"
popd &>/dev/null
perform_revctrl_action_on_file "$tempfile" do_update
popd &>/dev/null
perform_revctrl_action_on_file "$tempfile" do_update
+test_or_die "running revision control update"