mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-10 23:30:11 +00:00
fix a shell syntax problem in buildcore.sh
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user