2 # a simple script for updating a set of folders from subversion or git.
3 # this can take a directory as parameter, but will default to the current
4 # working directory. all the directories under the passed directory will
7 source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
8 source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
13 if [ -z "$dir" ]; then
17 pushd "$dir" &>/dev/null
18 test_or_die "changing to directory: $dir"
19 tempfile=$(generate_rev_ctrl_filelist)
20 test_or_die "generating revision control file list"
23 perform_revctrl_action_on_file "$tempfile" do_update
24 test_or_die "running revision control update"