diff options
author | Jonas Smedegaard <dr@jones.dk> | 2013-07-27 20:36:11 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2013-07-27 20:36:11 +0200 |
commit | 1d7682cb7e955767f8678f3dea22a819ac7435d5 (patch) | |
tree | c3b5be05944096237db748146e47ae5ab7d0ef94 | |
parent | 338141b0ade79107a493d3132f02a7cf59d40f3b (diff) |
Fix bashism.
-rwxr-xr-x | localgit-update-file-timestamps | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/localgit-update-file-timestamps b/localgit-update-file-timestamps index 38b3765..c0497c9 100755 --- a/localgit-update-file-timestamps +++ b/localgit-update-file-timestamps @@ -21,7 +21,7 @@ set -e # Make sure we are not running this on a bare Repository REPO_TYPE=`git config --list|egrep ^core.bare | awk -F '=' '{ print $2 }'` -if [ "$REPO_TYPE" == "true" ] +if [ "$REPO_TYPE" = "true" ] then echo "Cannot run this script on a bare Repository" && exit 1 fi |