mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
Corrected comparison.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
parent
0b74802e4f
commit
44fb5a11a3
@ -11,7 +11,7 @@ OUTPUT_DIR=${ROOT}/output
|
||||
rm -rf ${ROOT}/branding.git
|
||||
BRANDING_REMOTE=https://code.citrite.net/scm/xs/branding.git
|
||||
|
||||
if [ -z $(git ls-remote --heads ${BRANDING_REMOTE} | grep ${XS_BRANCH}) ] ; then
|
||||
if [ -z "$(git ls-remote --heads ${BRANDING_REMOTE} | grep ${XS_BRANCH})" ] ; then
|
||||
echo "Branch ${XS_BRANCH} not found on branding.git. Reverting to master."
|
||||
git clone -b master ${BRANDING_REMOTE} ${ROOT}/branding.git
|
||||
else
|
||||
|
@ -64,7 +64,7 @@ echo "xenadmin xenadmin.git ${get_REVISION:0:12}" >> ${OUTPUT_DIR}/manifest
|
||||
rm -rf ${ROOT}/xenadmin-branding.git
|
||||
BRAND_REMOTE=https://code.citrite.net/scm/xsc/xenadmin-branding.git
|
||||
|
||||
if [ -z $(git ls-remote --heads ${BRAND_REMOTE} | grep ${XS_BRANCH}) ] ; then
|
||||
if [ -z "$(git ls-remote --heads ${BRAND_REMOTE} | grep ${XS_BRANCH})" ] ; then
|
||||
echo "Branch ${XS_BRANCH} not found on xenadmin-branding.git. Reverting to master."
|
||||
git clone -b master ${BRAND_REMOTE} ${ROOT}/xenadmin-branding.git
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user