aboutsummaryrefslogtreecommitdiffstats
path: root/bin/update_po_header.bash
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-11-15 14:01:44 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-11-15 14:01:44 +0000
commitc94ed4479f26b6d4cee0bf16cac47a88ee7f6cae (patch)
tree443fef62bd66072432f04cc0d2b604b9be86c5d1 /bin/update_po_header.bash
parentdace204d71f395b07c4f746599bc9f3d6e620886 (diff)
parent46f4eda18358418fd8460e7b6182b5d2a65f859d (diff)
Merge branch 'version-2.0'v2.0
Diffstat (limited to 'bin/update_po_header.bash')
-rwxr-xr-xbin/update_po_header.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/update_po_header.bash b/bin/update_po_header.bash
index 2f37ad5d3..65468bc5c 100755
--- a/bin/update_po_header.bash
+++ b/bin/update_po_header.bash
@@ -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)"/..
# File to write to, clear it to start with
PO=$1