From 614a19141adb1f4ccac300e0f04751d63eb0701f Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Sun, 28 Feb 2010 10:30:03 +0100 Subject: [PATCH] Portability: Define PWD if not defined --- test.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.47.3