eobuilder: add quotes in case there is space(s) into variables name
This commit is contained in:
parent
8927696493
commit
c4088f97a6
|
@ -205,12 +205,12 @@ for DIST in $DISTS; do
|
|||
fi
|
||||
done
|
||||
|
||||
if [ -f $GIT_PATH/${PROJECT_NAME}_${PACKAGE_VERSION}_${DIST}.build ]; then
|
||||
if [ -f "$GIT_PATH/${PROJECT_NAME}_${PACKAGE_VERSION}_${DIST}.build" ]; then
|
||||
echo "+ Build for $DIST already built !"
|
||||
continue
|
||||
fi
|
||||
|
||||
if [ ! -f $ORIGIN_PATH/${PACKAGE_NAME}_${PROJECT_VERSION}.orig.tar.bz2 ]; then
|
||||
if [ ! -f "$ORIGIN_PATH/${PACKAGE_NAME}_${PROJECT_VERSION}.orig.tar.bz2" ]; then
|
||||
echo "+ Generating origin tarball ..."
|
||||
cd $GIT_PROJECT_PATH
|
||||
git checkout master
|
||||
|
|
Loading…
Reference in New Issue