diff options
| author | Simon Rettberg | 2014-02-11 20:27:29 +0100 |
|---|---|---|
| committer | Simon Rettberg | 2014-02-11 20:27:29 +0100 |
| commit | 7ca081e53dde3d0049e9a687b2dae63d5f907ca3 (patch) | |
| tree | 4550f48b736c8307f5d863b256cdacdf5ddae910 /remote/setup_target | |
| parent | [printergui] Spool from VM to tmpfs home if possible, fall back to /tmp (diff) | |
| parent | [setup_target] pinfos within clean_kernel_module: Better location (output (diff) | |
| download | tm-scripts-7ca081e53dde3d0049e9a687b2dae63d5f907ca3.tar.gz tm-scripts-7ca081e53dde3d0049e9a687b2dae63d5f907ca3.tar.xz tm-scripts-7ca081e53dde3d0049e9a687b2dae63d5f907ca3.zip | |
Merge branch 'master' of simonslx:openslx-ng/tm-scripts
Diffstat (limited to 'remote/setup_target')
| -rwxr-xr-x | remote/setup_target | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remote/setup_target b/remote/setup_target index 21831fde..9ae948ab 100755 --- a/remote/setup_target +++ b/remote/setup_target @@ -524,8 +524,8 @@ clean_kernel_module() { [ "x$USER_INPUT" == "xy" ] && CLEAN=1 fi - pinfo "Cleaning kernel module (including sources and compiled stuff)." if [[ $CLEAN == 1 ]]; then + pinfo "Cleaning kernel module (including sources and compiled stuff)." cd "${TARGET_DIR}/kernel" || perror "Could not cd to ${TARGET_DIR}/kernel" if [ -e build ]; then rm -rf build || perror "Could not delete ${TARGET_DIR}/kernel/build" @@ -549,10 +549,10 @@ clean_kernel_module() { if [ -L ksrc ]; then unlink ksrc || perror "Could not unlink ${TARGET_DIR}/kernel/ksrc." fi + pinfo "Done cleaning kernel." else pinfo "Not confirmed, not cleaning kernel module." fi - pinfo "Done cleaning kernel." } # Recursively strip binaries and libraries in the given directory |
