fixed code to work with new behavior of getFileArray
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Fri, 26 Mar 2004 07:33:01 +0000 (07:33 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Fri, 26 Mar 2004 07:33:01 +0000 (07:33 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1370 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/scripts/vserver-build

index 29b4ca5..a4a4455 100755 (executable)
@@ -80,7 +80,7 @@ the GNU General Public License.  This program has absolutely no warranty."
 set -e
 
 declare -a default_opts=()
-test "$NO_DEFAULT_OPTS" || getFileArray default_opts "$CONFDIR/.defaults/apps/build/options"
+test "$NO_DEFAULT_OPTS" || getFileArray default_opts "$CONFDIR/.defaults/apps/build/options" || :
 
 tmp=$(getopt -o +m:n: --long force,debug,help,version,rootdir:,pkgbase:,$SETUP_OPTIONS -n "$(basename $0)" -- \
        "${default_opts[@]}" "$@") || exit 1