fix for the revision tools; they weren't listening to the directory passed in any...
authorChris Koeritz <fred@gruntose.com>
Mon, 26 Aug 2013 01:52:33 +0000 (21:52 -0400)
committerChris Koeritz <fred@gruntose.com>
Mon, 26 Aug 2013 01:52:33 +0000 (21:52 -0400)
scripts/rev_control/rev_checkin.sh
scripts/rev_control/rev_diff.sh
scripts/rev_control/rev_report_new.sh
scripts/rev_control/rev_update.sh

index 8bf58db8fd4620c38df903e432ea5812127fd8b7..ec00deec5dcdddb616fd5bae34bab4f2862bc227 100644 (file)
@@ -11,7 +11,9 @@ fi
 
 source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
 
+pushd "$dir" &>/dev/null
 tempfile=$(generate_rev_ctrl_filelist)
+popd &>/dev/null
 
 perform_action_on_file "$tempfile" do_checkin
 
index aba5d71826ae685f049ec39f5b8d8ea555e4c50a..f09d72b1246bb468f6c8dfb2ee53dcc2027c78d4 100644 (file)
@@ -11,7 +11,9 @@ fi
 
 source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
 
+pushd "$dir" &>/dev/null
 tempfile=$(generate_rev_ctrl_filelist)
+popd &>/dev/null
 
 perform_action_on_file "$tempfile" do_diff
 
index 2197346d134b3dbbdcffb789f2b1b8ffc5ca6b58..34414ac716aed69a072e0df065f009567c592b09 100644 (file)
@@ -12,7 +12,9 @@ fi
 
 source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
 
+pushd "$dir" &>/dev/null
 tempfile=$(generate_rev_ctrl_filelist)
+popd &>/dev/null
 
 perform_action_on_file "$tempfile" do_report_new
 
index 7d01dcae709576b57c8d3c33c1ab74b6266e4e20..b79dc8e99aa88e2c111cf34989911d2759193c49 100644 (file)
@@ -11,7 +11,9 @@ fi
 
 source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
 
+pushd "$dir" &>/dev/null
 tempfile=$(generate_rev_ctrl_filelist)
+popd &>/dev/null
 
 perform_action_on_file "$tempfile" do_update