diff --git a/js/scripts/push-cargo.sh b/js/scripts/push-cargo.sh index 22ff9f364..1e0907fe5 100755 --- a/js/scripts/push-cargo.sh +++ b/js/scripts/push-cargo.sh @@ -16,8 +16,8 @@ function setup_git_user { # change into the build directory BASEDIR=`dirname $0` -GITLOG="./.git/gitcommand.log" -pushd $BASEDIR +GITLOG=./.git/gitcommand.log +pushd $BASEDIR/.. echo "*** [cargo] Setting up GitHub config for parity" setup_git_user