From: Joel Rosdahl Date: Sun, 28 Feb 2010 09:30:03 +0000 (+0100) Subject: Portability: Define PWD if not defined X-Git-Tag: v3.0pre0~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=614a19141adb1f4ccac300e0f04751d63eb0701f;p=thirdparty%2Fccache.git Portability: Define PWD if not defined --- diff --git a/test.sh b/test.sh index fcaf4fb70..870092906 100755 --- a/test.sh +++ b/test.sh @@ -25,6 +25,10 @@ else COMPILER=cc fi +if [ "x$PWD" = x ]; then + PWD=`pwd` +fi + if [ -z "$CCACHE" ]; then CCACHE=$PWD/ccache fi