summaryrefslogtreecommitdiffstats
path: root/tools/build_snapshots.sh
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-09-07 17:13:50 -0300
committerRenato Botelho <renato@netgate.com>2015-09-07 17:13:50 -0300
commit6007bbbb188f8d81a541ef8178ef3d71a28bd6ec (patch)
tree11b23ebf11cb35aacc10593de907af82d98d26e0 /tools/build_snapshots.sh
parent4010811baabe3d402c6e1db95b975c04409b54c8 (diff)
downloadpfsense-6007bbbb188f8d81a541ef8178ef3d71a28bd6ec.zip
pfsense-6007bbbb188f8d81a541ef8178ef3d71a28bd6ec.tar.gz
Do not wait a key to be pressed when build.sh is called by build_snapshots.sh
Diffstat (limited to 'tools/build_snapshots.sh')
-rwxr-xr-xtools/build_snapshots.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/build_snapshots.sh b/tools/build_snapshots.sh
index ffb2b09..84a1f32 100755
--- a/tools/build_snapshots.sh
+++ b/tools/build_snapshots.sh
@@ -30,6 +30,11 @@
# OF THE POSSIBILITY OF SUCH DAMAGE.
#
+# Use an env var to let build.sh know we are running build_snapshots.sh
+# This will avoid build.sh to run in interactive mode and wait a key
+# to be pressed when something goes wrong
+export NOT_INTERACTIVE=1
+
export BUILDER_TOOLS=$(realpath $(dirname ${0}))
export BUILDER_ROOT=$(realpath "${BUILDER_TOOLS}/..")
OpenPOWER on IntegriCloud