diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gettext-extract | 2 | ||||
-rwxr-xr-x | bin/gettext-merge | 2 | ||||
-rw-r--r-- | bin/site-specific-install.sh | 2 | ||||
-rwxr-xr-x | bin/update_po_header.bash | 2 |
4 files changed, 4 insertions, 4 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 diff --git a/bin/gettext-merge b/bin/gettext-merge index 373b39b31..a0dd343b1 100755 --- a/bin/gettext-merge +++ b/bin/gettext-merge @@ -6,7 +6,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)"/.. for X in locale/*.UTF-8 do diff --git a/bin/site-specific-install.sh b/bin/site-specific-install.sh index 1839af11b..6c54b51d0 100644 --- a/bin/site-specific-install.sh +++ b/bin/site-specific-install.sh @@ -1,7 +1,7 @@ #!/bin/sh # Set this to the version we want to check out -VERSION=${VERSION_OVERRIDE:-v1.8.4} +VERSION=${VERSION_OVERRIDE:-v2.0} PARENT_SCRIPT_URL=https://github.com/mysociety/commonlib/blob/master/bin/install-site.sh 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 |