forked from brl/citadel
Improve build to fail hard if error occurs
This commit is contained in:
parent
038b25817b
commit
956661945e
@ -1,4 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
set -o errexit
|
||||||
|
set -o nounset
|
||||||
|
set -o xtrace
|
||||||
|
|
||||||
: ${REALMFS_BUILDER_BASE:="/usr/share/realmfs-builder"}
|
: ${REALMFS_BUILDER_BASE:="/usr/share/realmfs-builder"}
|
||||||
source ${REALMFS_BUILDER_BASE}/common.inc
|
source ${REALMFS_BUILDER_BASE}/common.inc
|
||||||
@ -153,6 +156,7 @@ try_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
WORKDIR="$(pwd)/realmfs"
|
WORKDIR="$(pwd)/realmfs"
|
||||||
|
BUILDFILE=""
|
||||||
|
|
||||||
DO_TAR=0
|
DO_TAR=0
|
||||||
DO_XZ=0
|
DO_XZ=0
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
set -o errexit
|
||||||
|
set -o nounset
|
||||||
|
set -o xtrace
|
||||||
|
|
||||||
REALMFS_BUILDER_BASE="/usr/share/realmfs-builder"
|
REALMFS_BUILDER_BASE="/usr/share/realmfs-builder"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user