From fd147cc3fd27c2f08af16416cedeefd97945af60 Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Thu, 7 Jun 2018 08:35:00 +0200 Subject: Bump updatenotification MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- build/vue-builds.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'build/vue-builds.sh') diff --git a/build/vue-builds.sh b/build/vue-builds.sh index 1a5bef8a648..4b3ea560fa2 100755 --- a/build/vue-builds.sh +++ b/build/vue-builds.sh @@ -2,10 +2,13 @@ declare -a apps=("./settings/js/main.js" "./apps/updatenotification/js/merged.js") root=$(pwd) +entryFile=$1 -for i in "${apps[@]}" -do - entryFile=$i +if [ ! -f "$entryFile" ] +then + echo "The build file $entryFile does not exists" + exit 2 +else backupFile="$entryFile.orig" path=$(dirname "$entryFile") @@ -31,4 +34,4 @@ do else echo "$entryFile build is up-to-date" fi -done +fi -- cgit v1.2.3