Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-07 09:35:00 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-07 10:28:06 +0300
commitfd147cc3fd27c2f08af16416cedeefd97945af60 (patch)
tree16b6f757e873688f567615279f494b9633d662c0 /build
parent14cb805cf12b97f2f6f56a9a4119fb91dc02ec39 (diff)
Bump updatenotification
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'build')
-rwxr-xr-xbuild/vue-builds.sh11
1 files changed, 7 insertions, 4 deletions
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