diff options
author | Mario Fetka <[email protected]> | 2013-03-02 16:43:59 (GMT) |
---|---|---|
committer | Mario Fetka <[email protected]> | 2013-03-02 16:43:59 (GMT) |
commit | 09ee54f497f2d2cfaa85b76c06054bded8b6f3ca (patch) | |
tree | fd554dca8bf64770c2b004874dcaa6df708dd35d /lib/builder-utils.sh | |
parent | 73f4adc58ab430fd3a0edf43ea249c919f267d1d (diff) |
Allow overwrite on extract
Diffstat (limited to 'lib/builder-utils.sh')
-rw-r--r-- | lib/builder-utils.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/builder-utils.sh b/lib/builder-utils.sh index 1d66593..bf61ce4 100644 --- a/lib/builder-utils.sh +++ b/lib/builder-utils.sh @@ -61,11 +61,11 @@ function process_file() { if [ "$format" = "cp" ]; then cp $src $dst elif [ "$format" = "7zip" ]; then - $CMD_7z x -o$dst $src + $CMD_7z x -y -o$dst $src elif [ "$format" = "unzip" ]; then - $CMD_unzip $src -d $dst + $CMD_unzip -o $src -d $dst elif [ "$format" = "unrar" ]; then - $CMD_unrar x $src $dst + $CMD_unrar xy $src $dst elif [ "$format" = "lha" ]; then $CMD_lha x -w=$dst $src elif [ "$format" = "targz" ]; then |