summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-05-08 12:57:52 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-05-08 12:57:52 (GMT)
commit5856bb8c5e8db06bce1e8bf5c31f1fc554e8c086 (patch)
treebfa6d33142e76d7ec751e1664777af1f241f58a6
parentb332ed5ab6631aef5ee8ddc075cbb967f3114079 (diff)
Inform that a component is already extracted.
-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