From 05d8d5624c49396961c23e319fc822388246d7e2 Mon Sep 17 00:00:00 2001 From: "J. Fernando Lagrange" Date: Tue, 18 Jul 2017 02:11:44 +0200 Subject: [PATCH] Accurante build command --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 3f4a2c7..304133b 100644 --- a/scripts/install +++ b/scripts/install @@ -25,7 +25,7 @@ app=$YNH_APP_INSTANCE_NAME sudo git clone https://framagit.org/bnjbvr/kresus.git $src_path sudo mkdir -p $src_path $src_path/node_modules sudo npm install --prefix $src_path $src_path - sudo $src_path/scripts/build.sh + sudo sh -c "cd $src_path && ./scripts/build.sh" # Modify Nginx configuration file and copy it to Nginx conf directory nginx_conf=../conf/nginx.conf