diff options
Diffstat (limited to 'scripts/include')
-rw-r--r-- | scripts/include/common.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/include/common.sh b/scripts/include/common.sh index 27c1767..c00a638 100644 --- a/scripts/include/common.sh +++ b/scripts/include/common.sh @@ -116,6 +116,13 @@ function run_autoreconf { check_error $? } +function run_src_script { + cd "${srcdir}" + check_error $? + $* + check_error $? +} + function run_enable_same_dir_build { echo "copy sources from $srcdir to ${builddir}" cp -r "$srcdir" "${builddir}/.." |