mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-21 19:22:05 +00:00
fix a shell syntax problem in buildcore.sh
This commit is contained in:
parent
5e248b0b0d
commit
843d9418bf
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user