[tor-commits] [manual/translations] maybe this is the right syntax to find out if this directory exists.
emmapeel at torproject.org
emmapeel at torproject.org
Sun Apr 25 07:15:07 UTC 2021
commit 437e7be077d5df06bc4f47ced6b57147d503ad5d
Author: emma peel <emma.peel at riseup.net>
Date: Sun Apr 25 07:14:56 2021 +0000
maybe this is the right syntax to find out if this directory exists.
---
.gitlab-ci.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1a9c9e7..9c6b097 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,7 +22,7 @@ before_script:
- pip3 install lektor
- echo 'checking out translations'
- >
- if [[ ! -d "i18n" ]]; then
+ if [ "i18n" ]; then
cd i18n && git checkout tbmanual-contentspot && git reset --hard && git pull && cd ..
else
git clone https://git.torproject.org/translation.git i18n
More information about the tor-commits
mailing list