From 36eb9c0a07c9ce6e3db34d0d2af56395260aa185 Mon Sep 17 00:00:00 2001 From: Manfred Touron Date: Sun, 9 Nov 2014 21:52:00 +0000 Subject: [PATCH] Fixed clean_target function --- images/lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/lib.sh b/images/lib.sh index 01c5b76..9f22d89 100644 --- a/images/lib.sh +++ b/images/lib.sh @@ -59,7 +59,7 @@ patch_target() { } clean_target() { - clean_paths=$1 + clean_paths="$@" for path in $clean_paths; do if [ -e "$TARGET/$path" ]; then sudo rm -rf "$TARGET/$path"