diff options
author | Daniel Baumann <daniel@debian.org> | 2010-09-26 12:38:38 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2010-09-26 15:11:45 +0200 |
commit | 152d608f61fd22a1414c3a90ba061b790200350a (patch) | |
tree | 44a6d3a12cd11067aea2a4d43eb9133cc25bad2f /scripts/build.sh | |
download | vyos-live-build-152d608f61fd22a1414c3a90ba061b790200350a.tar.gz vyos-live-build-152d608f61fd22a1414c3a90ba061b790200350a.zip |
Adding debian version 3.0~a1-1.
Diffstat (limited to 'scripts/build.sh')
-rwxr-xr-x | scripts/build.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/build.sh b/scripts/build.sh new file mode 100755 index 000000000..443e9eed9 --- /dev/null +++ b/scripts/build.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +LB_BASE="${LB_BASE:-/usr/share/live/build}" + +# Source global functions +for FUNCTION in "${LB_BASE}"/functions/*.sh +do + . "${FUNCTION}" +done + +# Source local functions +if ls auto/functions/* > /dev/null 2>&1 +then + for FUNCTION in auto/functions/* + do + . "${FUNCTION}" + done +fi |