fixes problems in push repo downstream
authorChris Koeritz <fred@gruntose.com>
Sat, 11 Nov 2017 17:58:54 +0000 (17:58 +0000)
committerChris Koeritz <fred@gruntose.com>
Sat, 11 Nov 2017 17:58:54 +0000 (17:58 +0000)
scripts/rev_control/push_repo_downstream.sh
scripts/rev_control/version_control.sh

index aacd77724b2e25f58973e569de6fd9946fecdf81..b2da88704a60f4ace4290f638e8be69cc1eb6030 100644 (file)
@@ -47,9 +47,8 @@ pushd "$dir" &>/dev/null
 test_or_die "changing to directory: $dir"
 tempfile=$(generate_rev_ctrl_filelist)
 test_or_die "generating revision control file list"
-popd &>/dev/null
 
-perform_revctrl_action_on_file "$tempfile" do_careful_git_update "$(\pwd)"
+perform_revctrl_action_on_file "$tempfile" do_careful_git_update
 test_or_die "doing a careful git update on: $tempfile"
 
 # send our little boat down the stream to the dependent repository.
index 7dd199f4c44632623c3d3b123ffda0909b12983e..de819f37a4e018082736a0fc0ffa32c1c727b8e2 100644 (file)
@@ -450,7 +450,8 @@ function perform_revctrl_action_on_file()
     pushd "$dirname" &>/dev/null
     echo "[$(pwd)]"
     # pass the current directory plus the remaining parameters from function invocation.
-    $action . $*
+    $action . 
+#$*
     test_or_die "performing action $action on: $(pwd)"
     sep 28
     popd &>/dev/null