summaryrefslogtreecommitdiffstats
path: root/builder/dnbd3-rootfs/scripts/utils.sh
diff options
context:
space:
mode:
authorjandob2015-11-05 17:48:38 +0100
committerjandob2015-11-05 17:48:38 +0100
commitc31f32860d7b926e41bea88b122ba2fc5c7657df (patch)
tree3701453b810b8070d40f3381149259b405c46af7 /builder/dnbd3-rootfs/scripts/utils.sh
parentMerge branch 'master' of git.openslx.org:openslx-ng/systemd-init (diff)
downloadsystemd-init-c31f32860d7b926e41bea88b122ba2fc5c7657df.tar.gz
systemd-init-c31f32860d7b926e41bea88b122ba2fc5c7657df.tar.xz
systemd-init-c31f32860d7b926e41bea88b122ba2fc5c7657df.zip
bug fixing
Diffstat (limited to 'builder/dnbd3-rootfs/scripts/utils.sh')
-rw-r--r--builder/dnbd3-rootfs/scripts/utils.sh6
1 files changed, 3 insertions, 3 deletions
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: