Updated build check script

This commit is contained in:
Joseph Henry
2016-06-23 12:17:37 -07:00
parent df8c4582e5
commit eb29aaa3f2
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash
FILE="$1"
if [ -f "$FILE" ] || [ -d "$FILE" ];
if ([ -f "$FILE" ] && [ -s "$FILE" ]) || ([ -d "$FILE" ] && [ "$(ls -A "$FILE")" ]);
then
echo "[OK ] $FILE"
else