Prechádzať zdrojové kódy

Making language_chooser.sh ignores files/dirs that start with .

Vinicius Teshima 2 týždňov pred
rodič
commit
2b889dd22a
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      language_chooser.sh

+ 1 - 1
language_chooser.sh

@@ -15,7 +15,7 @@
 prob="$1"
 test -n "$prob" || { echo "Pass the problem number"; exit 1;}
 
-lang_frek="$(find . -maxdepth 1 -mindepth 1 -not -path './.git' -type d \
+lang_frek="$(find . -maxdepth 1 -mindepth 1 -not -path './.*' -type d \
     | parallel -j1 'find {} -maxdepth 1 -mindepth 1 -type f | wc -l | xargs echo {}' \
     | sort -k2)"