From e6509e478ba0c62512ea98c054e01f073227514a Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Sun, 12 Dec 2010 20:57:56 +0000 Subject: [PATCH] Fixed paths in version generate script --- tools/unix/generate_version.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/unix/generate_version.sh b/tools/unix/generate_version.sh index 9e08e912ab..bc228e4157 100755 --- a/tools/unix/generate_version.sh +++ b/tools/unix/generate_version.sh @@ -33,12 +33,12 @@ BUILD_TIMESTAMP_FULL=`date -u` GIT_CMD="git --git-dir=$GIT_WORKING_DIR_PATH/.git --work-tree=$GIT_WORKING_DIR_PATH" -GIT_COMMIT=`cd $GIT_WORKING_DIR; $GIT_CMD log --oneline -1` +GIT_COMMIT=`cd $GIT_WORKING_DIR_PATH; $GIT_CMD log --oneline -1` GIT_COMMIT_HASH=${GIT_COMMIT:0:7} # check if git repo has local uncommitted modifications STRING_MODIFICATIONS="" -GIT_STATUS_OUTPUT=`cd $GIT_WORKING_DIR; $GIT_CMD status -s -uno` +GIT_STATUS_OUTPUT=`cd $GIT_WORKING_DIR_PATH; $GIT_CMD status -s -uno` if [ -n "$GIT_STATUS_OUTPUT" ]; then STRING_MODIFICATIONS=".altered" fi