From f5b06b0d250d77b011143a6c98d0f57182c4fc35 Mon Sep 17 00:00:00 2001 From: Peter 'Pita' Martischka Date: Tue, 9 Aug 2011 11:14:09 +0100 Subject: [PATCH] Ops, fixed the folder remove --- bin/installDeps.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/installDeps.sh b/bin/installDeps.sh index db46dbfab..ece5b7aae 100755 --- a/bin/installDeps.sh +++ b/bin/installDeps.sh @@ -33,7 +33,10 @@ if [ ! -f "settings.json" ]; then fi echo "Ensure that all dependencies are up to date..." -npm install || rm -rf node_modules; exit 1 +npm install || { + rm -rf node_modules + exit 1 +} echo "Ensure jQuery is downloaded and up to date..." DOWNLOAD_JQUERY="true"