summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/functions5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions
index 70b9387..555073d 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -356,7 +356,10 @@ CT_ExtractAndPatch() {
esac
# If the directory exists, then consider extraction and patching done
- [ -d "${file}" ] && return 0
+ if [ -d "${file}" ]; then
+ CT_DoLog EXTRA "Already extracted \"${file}\""
+ return 0
+ fi
CT_DoLog EXTRA "Extracting \"${file}\""
case "${ext}" in