From c381b45bfc4bfa8095f8cb9ed1c8146355d33fbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 12 Jan 2017 16:56:06 +0100 Subject: [PATCH] deploy.sh: actually return & use the module path --- deploy.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/deploy.sh b/deploy.sh index 142afd6..89a33eb 100755 --- a/deploy.sh +++ b/deploy.sh @@ -42,15 +42,17 @@ EOT exit 1 fi -# Find Pillar -find_module pillar + echo $MODULE_DIR } -# Find Attract -find_module attract +# Find our modules +PILLAR_DIR=$(find_module pillar) +ATTRACT_DIR=$(find_module attract) +FLAMENCO_DIR=$(find_module flamenco) -# Find Flamenco -find_module flamenco +echo "Pillar : $PILLAR_DIR" +echo "Attract : $ATTRACT_DIR" +echo "Flamenco: $FLAMENCO_DIR" # SSH to cloud to pull all files in function git_pull() {