diff options
Diffstat (limited to 'scripts/include/common.sh')
-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 e286f5d..27c1767 100644 --- a/scripts/include/common.sh +++ b/scripts/include/common.sh @@ -116,6 +116,13 @@ function run_autoreconf { check_error $? } +function run_enable_same_dir_build { + echo "copy sources from $srcdir to ${builddir}" + cp -r "$srcdir" "${builddir}/.." + export srcdir="$builddir" + echo "change src dir to $srcdir" +} + function run_configure { cd "${builddir}" check_error $? |