[manual/translations] maybe this is the right syntax to find out if this directory exists.

25 Apr
2021
25 Apr
'21
7:15 a.m.
commit 437e7be077d5df06bc4f47ced6b57147d503ad5d Author: emma peel <emma.peel@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
1520
Age (days ago)
1520
Last active (days ago)
0 comments
1 participants
participants (1)
-
emmapeel@torproject.org