[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [manual/translations] maybe this is the right syntax to find out if this directory exists.
commit 437e7be077d5df06bc4f47ced6b57147d503ad5d
Author: emma peel <emma.peel@xxxxxxxxxx>
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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits