|
@@ -3,8 +3,8 @@
|
|
|
# save the current git commit to results/.commit
|
|
|
#
|
|
|
echo "Saving current git commit to results directory..."
|
|
|
-GIT_COMMIT=$(git rev-parse HEAD)
|
|
|
-mkdir -p results
|
|
|
-echo $GIT_COMMIT > results/.commit
|
|
|
+GIT_COMMIT=$(git -C $TFB_REPOPARENT/$TFB_REPONAME rev-parse HEAD)
|
|
|
+mkdir -p $TFB_REPOPARENT/$TFB_REPONAME/results
|
|
|
+echo $GIT_COMMIT > $TFB_REPOPARENT/$TFB_REPONAME/results/commit_id.txt
|
|
|
echo "Using commit: " $GIT_COMMIT
|
|
|
|