diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/lib.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/lib.sh b/include/lib.sh index 790f4fe9..8886cfc8 100644 --- a/include/lib.sh +++ b/include/lib.sh @@ -170,9 +170,9 @@ mkrom_tarball() mktarball() { - [ "${2%/*}" = "$2" ] || \ + if [ "${2%/*}" != "$2" ]; then mkdir -p "${2%/*}" || $err "mk, !mkdir -p \"${2%/*}\"" - printf "\nCreating archive: %s\n\n" "$2" + fi tar -c "$1" | xz -T$XBMK_THREADS -9e > "$2" || $err "mktarball 2, $1" } |