]> git.xonotic.org Git - xonotic/netradiant.git/commitdiff
fail library-bundler script on error
authorThomas Debesse <dev@illwieckz.net>
Tue, 12 Nov 2019 08:24:20 +0000 (09:24 +0100)
committerThomas Debesse <dev@illwieckz.net>
Mon, 20 Jan 2020 19:44:14 +0000 (20:44 +0100)
library-bundler

index c1ba97d9b2ec421925ced97324bb4fb61ea0be99..93ef662a82ffaf81e3ceb67a35a437cdc2b03d47 100755 (executable)
@@ -1,5 +1,7 @@
 #! /usr/bin/env bash
 
+set -e
+
 Common::noOp () {
        printf ''
 }
@@ -295,7 +297,11 @@ Windows::writeManifest () {
 
 system_name="${1}"; shift
 bundle_dir="${1}"; shift
-exe_file="${1}"; shift
+
+if ! [ -z "${1}" ]
+then
+       exe_file="${1}"; shift
+fi
 
 bundle_dir="$(Common::getPath "${bundle_dir}")"
 registry_dir="${bundle_dir}/registry"