summaryrefslogtreecommitdiff
path: root/lib/builder-utils.sh
diff options
context:
space:
mode:
authorDaniel Schwager <[email protected]>2012-02-03 13:41:08 (GMT)
committer Daniel Schwager <daniel.schwa[email protected]>2012-02-03 13:41:08 (GMT)
commit78d96bffad10463f31db57a9543d6a533c69b529 (patch)
treeabbb1ab6298826c220e0a536a041445f95f55270 /lib/builder-utils.sh
parent72c8c4b9a9a3b13cc030b139678b7d6e76a64e88 (diff)
Improvement: commands (7z, unzip, ..) are defined by global variables now. Added checking of command's availablility.
Diffstat (limited to 'lib/builder-utils.sh')
-rw-r--r--lib/builder-utils.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/builder-utils.sh b/lib/builder-utils.sh
index fc791a9..ba62596 100644
--- a/lib/builder-utils.sh
+++ b/lib/builder-utils.sh
@@ -57,9 +57,9 @@ function process_file() {
if [ "$format" = "cp" ]; then
cp $src $dst
elif [ "$format" = "7zip" ]; then
- 7z x -o$dst $src
+ $CMD_7z x -o$dst $src
elif [ "$format" = "unzip" ]; then
- unzip $src -d $dst
+ $CMD_unzip $src -d $dst
else
fatal_error "Unknown compression format: $format"
fi

Powered by Domaintechnik.at | Hosting - Domain - Webspace