X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=misc%2Fcheck-proj.sh;h=b43ec7aa40ad2ae7945c620a06d680a4badb92d3;hb=e3577912c86755592035786a8fdceedf5331f9e0;hp=b70e75f2dfdbe9c3a45f9ef0b22187ee6fd256be;hpb=6bd6379c87fe82b8e0169fdd2065830f0c4688b3;p=xonotic%2Fgmqcc.git diff --git a/misc/check-proj.sh b/misc/check-proj.sh index b70e75f..b43ec7a 100755 --- a/misc/check-proj.sh +++ b/misc/check-proj.sh @@ -71,7 +71,7 @@ if [ ! -d ~/.gmqcc/testsuite/projects ]; then mkdir -p ~/.gmqcc/testsuite/projects old="$PWD" cd ~/.gmqcc/testsuite/projects - echo "$(ls ../ | cat | grep -v '^hashes$' | grep -v '^projects$' | grep -v '^options$')" | while read -r line + echo "$(ls ../ | grep -v '^hashes$' | grep -v '^projects$' | grep -v '^options$')" | while read -r line do echo "extracting project $line" mkdir "$(echo "$line" | sed 's/\(.*\)\..*/\1/')"