]> git.99rst.org Git - irssi-scripts.irssi.org.git/commitdiff
[autoinstall-perl-prereqs.zsh] fix indentation
authorailin-nemui <redacted>
Mon, 25 Feb 2019 09:25:22 +0000 (10:25 +0100)
committerGitHub <redacted>
Mon, 25 Feb 2019 09:25:22 +0000 (10:25 +0100)
_testing/travis/autoinstall-perl-prereqs.zsh

index c9b62f8d5425c6d8af3b0edb7510508843a07e63..024f3e57173c86ca12a9cd420bb81d1b33e3a877 100755 (executable)
@@ -9,12 +9,12 @@ if [[ ${#filelist} -eq 0 ]] {
     touch auto/cpanfile
 } \
 else {
-       rfl=()
-       for fn ($filelist) {
-               if ( test -f $fn ) {
-                       rfl+=$fn
-               }
-       }
+    rfl=()
+    for fn ($filelist) {
+        if [[ -f $fn ]] {
+            rfl+=$fn
+        }
+    }
     scan-perl-prereqs $rfl > auto/cpanfile
 }
 
git clone https://git.99rst.org/PROJECT