From dca905667e2a50bfc0b73896a76bc391e11b04a7 Mon Sep 17 00:00:00 2001 From: Michael Wurster Date: Thu, 4 Mar 2021 14:59:57 +0100 Subject: [PATCH] Fix create.sh scripts --- .../Go-Create/files/create.sh | 2 +- .../NodeJS-Create/files/create.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/artifacttemplates/https%3A%2F%2Fedmm.uni-stuttgart.de%2Fartifacttemplates/Go-Create/files/create.sh b/artifacttemplates/https%3A%2F%2Fedmm.uni-stuttgart.de%2Fartifacttemplates/Go-Create/files/create.sh index 1fa5750..273cb2f 100644 --- a/artifacttemplates/https%3A%2F%2Fedmm.uni-stuttgart.de%2Fartifacttemplates/Go-Create/files/create.sh +++ b/artifacttemplates/https%3A%2F%2Fedmm.uni-stuttgart.de%2Fartifacttemplates/Go-Create/files/create.sh @@ -8,7 +8,7 @@ go get -v github.com/Masterminds/glide go get -u github.com/FiloSottile/gvt file_name=$(find . -type f -name '*.zip') mkdir -d ~/go/src/${WORKDIR} -unzip file_name -d ~/go/src/${WORKDIR} +unzip $file_name -d ~/go/src/${WORKDIR} cd ~/go/src/${WORKDIR} glide install gvt restore diff --git a/artifacttemplates/https%3A%2F%2Fedmm.uni-stuttgart.de%2Fartifacttemplates/NodeJS-Create/files/create.sh b/artifacttemplates/https%3A%2F%2Fedmm.uni-stuttgart.de%2Fartifacttemplates/NodeJS-Create/files/create.sh index b6c8b18..70c503a 100644 --- a/artifacttemplates/https%3A%2F%2Fedmm.uni-stuttgart.de%2Fartifacttemplates/NodeJS-Create/files/create.sh +++ b/artifacttemplates/https%3A%2F%2Fedmm.uni-stuttgart.de%2Fartifacttemplates/NodeJS-Create/files/create.sh @@ -5,6 +5,6 @@ curl -sL https://deb.nodesource.com/setup_10.x | bash - apt -y install nodejs npm install --global yarn file_name=$(find . -type f -name '*.zip') -unzip file_name -d . +unzip $file_name -d . yarn install exit 0