🐛 use bash for scripts with bashisms

This commit is contained in:
neingeist 2024-10-11 16:35:38 +02:00
parent 132efe16e1
commit bcc228088e
3 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
# Check that all of the given directories are empty
for d in "$@"; do
if [[ -n "$(ls -1 "$d")" ]]; then
if [ -n "$(ls -1 "$d")" ]; then
exit 1
fi
done