diff options
author | James Murty <james@murty.co> | 2014-05-26 13:29:46 +0100 |
---|---|---|
committer | James Murty <james@murty.co> | 2014-05-26 13:29:46 +0100 |
commit | 873593803defff42df2635c0df831fe9092febd8 (patch) | |
tree | e5df443d271e112654e7a3124c2f10c35c3040d4 | |
parent | 82ca769cc828dd06ac5768a96e70662a29f1f1fc (diff) | |
download | git-fat-873593803defff42df2635c0df831fe9092febd8.tar.gz |
Replace heavyweight use of python with a simple 'pwd' call
-rwxr-xr-x | test-retroactive.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-retroactive.sh b/test-retroactive.sh index 7dad627..be7011c 100755 --- a/test-retroactive.sh +++ b/test-retroactive.sh @@ -2,7 +2,7 @@ # Use Python's abspath as substitute if realpath isn't available (e.g. on OSX) command -v realpath >/dev/null 2>&1 || realpath() { - python -c 'import os, sys; print os.path.abspath(sys.argv[1])' $1 + echo "`pwd`/$1" } git init retro |