2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 03:32:04 +00:00

fix a shell syntax problem in buildcore.sh

This commit is contained in:
ligc 2015-05-26 21:08:44 -04:00
parent 5e248b0b0d
commit 843d9418bf

View File

@ -200,7 +200,7 @@ if [ "$GIT" = "1" ]; then
fi
# check if there's any modifications to git current repo
UNTRACKED_FILES=`git ls-files --others | tr '\n' ', '`
if [ -n $UNTRACKED_FILES ]; then
if [ -n "$UNTRACKED_FILES" ]; then
echo "The following files are not tracked in git: $UNTRACKED_FILES..."
echo "Not a clean build, aborting..."
exit 3