summaryrefslogtreecommitdiffstats
path: root/import-translations
diff options
context:
space:
mode:
authorWinterFairy <winterfairy@riseup.net>2013-12-07 16:59:31 +0000
committerWinterFairy <winterfairy@riseup.net>2013-12-07 16:59:31 +0000
commitf0b6be395a1885abcfcd2429f876438acabe646d (patch)
treeec6703e3789bcccba221b31ceed62f21834d3600 /import-translations
parent6e164ce94b750e51ad14f7ff8b103522ed381b44 (diff)
Use readlink instead, looks better.
Diffstat (limited to 'import-translations')
-rwxr-xr-ximport-translations2
1 files changed, 1 insertions, 1 deletions
diff --git a/import-translations b/import-translations
index 51f2893..b292cd0 100755
--- a/import-translations
+++ b/import-translations
@@ -5,7 +5,7 @@ set -u
EXCLUDE_LANGS='fr pt_BR'
TAILS_PO_DIR='po'
-SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
+SCRIPT_DIR=$(readlink -f "$(dirname "$0")")
TOR_TRANSLATION_REMOTE='https://git.torproject.org/translation.git'
TOR_TRANSLATION_DIR="$SCRIPT_DIR/tmp/tor-translation"
GIT_IN_TOR_TRANSLATION_DIR="git \