aboutsummaryrefslogtreecommitdiffstats
path: root/bin/gettext-extract
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gettext-extract')
-rwxr-xr-xbin/gettext-extract2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gettext-extract b/bin/gettext-extract
index 1c0771f9e..f1cd6d28b 100755
--- a/bin/gettext-extract
+++ b/bin/gettext-extract
@@ -7,7 +7,7 @@
# Copyright (c) 2011 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org; WWW: http://www.mysociety.org/
-cd "$(dirname $(readlink -f $BASH_SOURCE))/.."
+cd "$(cd "$(dirname "$BASH_SOURCE")" && pwd -P)"/..
# Install required code if needed
vendor/bin/carton install --path local-gettext --cpanfile locale/cpanfile --deployment