diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-08 12:57:52 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-08 12:57:52 +0000 |
commit | 5856bb8c5e8db06bce1e8bf5c31f1fc554e8c086 (patch) | |
tree | bfa6d33142e76d7ec751e1664777af1f241f58a6 | |
parent | b332ed5ab6631aef5ee8ddc075cbb967f3114079 (diff) | |
download | crosstool-ng-5856bb8c5e8db06bce1e8bf5c31f1fc554e8c086.tar.gz crosstool-ng-5856bb8c5e8db06bce1e8bf5c31f1fc554e8c086.tar.bz2 crosstool-ng-5856bb8c5e8db06bce1e8bf5c31f1fc554e8c086.zip |
Inform that a component is already extracted.
-rw-r--r-- | scripts/functions | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions index 70b9387a..555073d1 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 |