summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpatches/patch-chromium.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/patch-chromium.sh b/patches/patch-chromium.sh
index 5abc44203..102e51d44 100755
--- a/patches/patch-chromium.sh
+++ b/patches/patch-chromium.sh
@@ -6,7 +6,7 @@ if [ -z $CHROMIUM_SRC_DIR -o ! -d $CHROMIUM_SRC_DIR ]; then
exit 1;
fi
-PATCH_DIR=$PWD
+PATCH_DIR="$( cd "$( dirname "$0" )" && pwd )"
DEPOT_TOOLS=$CHROMIUM_SRC_DIR/../depot_tools
cd $CHROMIUM_SRC_DIR