Skip to content

Commit

Permalink
scripts/circleci.bash
Browse files Browse the repository at this point in the history
  • Loading branch information
swysor committed Jan 16, 2025
1 parent 3b5224a commit 0a7b5f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/circleci.bash
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ cd $MONSTER_ROOT

if [ ! -d ${APP_PATH} ]; then
cp -R ${APP_DIR} ${MONSTER_ROOT}/${APP_PATH}
if [! -d ${CIRCLE_REPOSITORY_URL} ]; then
if [ ! -z ${CIRCLE_REPOSITORY_URL} ]; then
echo adding submodule to ${MONSTER_ROOT}
git submodule add -f ${CIRCLE_REPOSITORY_URL} ${APP_PATH}
elif [! -d ${APP_VCS_URL} ]; then
elif [ ! -z ${APP_VCS_URL} ]; then
echo adding submodule from ${APP_VCS_URL} to ${MONSTER_ROOT}
git submodule add -f ${APP_VCS_URL} ${APP_PATH}
else
Expand Down

0 comments on commit 0a7b5f1

Please sign in to comment.