From c31f32860d7b926e41bea88b122ba2fc5c7657df Mon Sep 17 00:00:00 2001 From: jandob Date: Thu, 5 Nov 2015 17:48:38 +0100 Subject: bug fixing --- builder/dnbd3-rootfs/scripts/utils.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'builder/dnbd3-rootfs/scripts') diff --git a/builder/dnbd3-rootfs/scripts/utils.sh b/builder/dnbd3-rootfs/scripts/utils.sh index 66d370ba..4c0ffee2 100644 --- a/builder/dnbd3-rootfs/scripts/utils.sh +++ b/builder/dnbd3-rootfs/scripts/utils.sh @@ -42,7 +42,7 @@ function utils_compile_nbd() { # ... # Provides the following file: # "$1/nbd.ko" - pushd "$1" 1>"$UTILS_STANDARD_OUTPUT" 2>"$_ERROR_OUTPUT" && \ + pushd "$1" 1>"$UTILS_STANDARD_OUTPUT" 2>"$UTILS_ERROR_OUTPUT" && \ utils_log 'Compile the nbd kernel module.' && \ make 1>"$UTILS_STANDARD_OUTPUT" 2>"$UTILS_ERROR_OUTPUT" && \ popd 1>"$UTILS_STANDARD_OUTPUT" 2>"$UTILS_ERROR_OUTPUT" @@ -58,9 +58,9 @@ function utils_compile_dnbd3() { # ... # Provides the following file: # "$1/build/dnbd3.ko" + pushd "$1/.." 1>"$UTILS_STANDARD_OUTPUT" 2>"$UTILS_ERROR_OUTPUT" && \ rm --recursive --force "$1" 1>"$UTILS_STANDARD_OUTPUT" \ 2>"$UTILS_ERROR_OUTPUT" && \ - pushd "$1" 1>"$UTILS_STANDARD_OUTPUT" 2>"$UTILS_ERROR_OUTPUT" && \ git clone git://git.openslx.org/dnbd3.git \ 1>"$UTILS_STANDARD_OUTPUT" 2>"$UTILS_ERROR_OUTPUT" && \ cd dnbd3 1>"$UTILS_STANDARD_OUTPUT" 2>"$UTILS_ERROR_OUTPUT" && \ @@ -69,7 +69,7 @@ function utils_compile_dnbd3() { return $? # TODO rm -rf build } -function compile_systemd_preserve_process_marker() { +function utils_compile_systemd_preserve_process_marker() { # Compiles simple c program. # # Examples: -- cgit v1.2.3-55-g7522