aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2017-01-30 23:33:04 +0100
committerJaquee <jaquee.monero@gmail.com>2017-01-30 23:33:04 +0100
commitf4e01e575636986f4c3cb39f6296a7907900ff28 (patch)
treef5648e808c7296c14397328e90dbf3ab6f02d9a6
parentcf9574243331841957943df1565082b22c54b46d (diff)
downloadmonzero-gui-f4e01e575636986f4c3cb39f6296a7907900ff28.tar.gz
monzero-gui-f4e01e575636986f4c3cb39f6296a7907900ff28.tar.xz
monzero-gui-f4e01e575636986f4c3cb39f6296a7907900ff28.zip
fix git username in build script
-rwxr-xr-xget_libwallet_api.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/get_libwallet_api.sh b/get_libwallet_api.sh
index d66c4c8f..db8dd550 100755
--- a/get_libwallet_api.sh
+++ b/get_libwallet_api.sh
@@ -26,7 +26,7 @@ git -C $MONERO_DIR checkout -B $VERSIONTAG
# Workaround for git username requirements
# Save current user settings and revert back when we are done with merging PR's
-OLD_GIT_USER=$(git -C $MONERO_DIR config --local user.user)
+OLD_GIT_USER=$(git -C $MONERO_DIR config --local user.name)
OLD_GIT_EMAIL=$(git -C $MONERO_DIR config --local user.email)
git -C $MONERO_DIR config user.name "Monero GUI"
git -C $MONERO_DIR config user.email "gui@monero.local"
@@ -40,7 +40,7 @@ for PR in $(git log --format=%B -n 1 | grep -io "requires #[0-9]*" | sed 's/[^0-
done
# revert back to old git config
-$(git -C $MONERO_DIR config user.user "$OLD_GIT_USER")
+$(git -C $MONERO_DIR config user.name "$OLD_GIT_USER")
$(git -C $MONERO_DIR config user.email "$OLD_GIT_EMAIL")
# Build libwallet if it doesnt exist