From f273a3c6b16273bc39c2f731e9f01dffdba9b769 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Fri, 23 Nov 2018 20:03:26 +0100 Subject: [PATCH] assets/shell/deploy-all.sh:main(): cd into asciiblaster-${_build}/ prior to calling deployment script. assets/shell/deploy-nwjs.sh, asciiblaster-nw/deploy.sh: renamed to assets/shell/deploy-nw.sh. --- asciiblaster-nw/deploy.sh | 2 +- assets/shell/deploy-all.sh | 6 ++++-- assets/shell/{deploy-nwjs.sh => deploy-nw.sh} | 0 3 files changed, 5 insertions(+), 3 deletions(-) rename assets/shell/{deploy-nwjs.sh => deploy-nw.sh} (100%) diff --git a/asciiblaster-nw/deploy.sh b/asciiblaster-nw/deploy.sh index d6f9707..2d4a8ea 120000 --- a/asciiblaster-nw/deploy.sh +++ b/asciiblaster-nw/deploy.sh @@ -1 +1 @@ -../assets/shell/deploy-nwjs.sh \ No newline at end of file +../assets/shell/deploy-nw.sh \ No newline at end of file diff --git a/assets/shell/deploy-all.sh b/assets/shell/deploy-all.sh index 201ce70..2e6499b 100755 --- a/assets/shell/deploy-all.sh +++ b/assets/shell/deploy-all.sh @@ -23,11 +23,13 @@ main() { shift $((${OPTIND}-1)); for _build in cordoba nwjs www; do msgf "Deploying ${_build}..."; + cd "asciiblaster-${_build}"; if [ "${_vflag:-0}" -eq 0 ]; then - ./assets/shell/deploy-${_build}.sh "${@}"; + ./deploy.sh "${@}"; else - ./assets/shell/deploy-${_build}.sh -v "${@}"; + ./deploy.sh -v "${@}"; fi; + cd "${OLDPWD}"; msgf "Deployed ${_build}."; done; }; diff --git a/assets/shell/deploy-nwjs.sh b/assets/shell/deploy-nw.sh similarity index 100% rename from assets/shell/deploy-nwjs.sh rename to assets/shell/deploy-nw.sh