From: Chris Koeritz Date: Sat, 29 Sep 2012 20:06:52 +0000 (-0400) Subject: updated to use better name for folder, since one cannot find unpack command as fast if X-Git-Tag: 2.140.90~1212 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=bec32148b61e15c5645a58a2eddee978f7658671;p=feisty_meow.git updated to use better name for folder, since one cannot find unpack command as fast if that's folder name too. --- diff --git a/scripts/archival/unpack.sh b/scripts/archival/unpack.sh index de82c021..89573aba 100644 --- a/scripts/archival/unpack.sh +++ b/scripts/archival/unpack.sh @@ -25,7 +25,7 @@ if [ ! -f "$archive_file" ]; then fi unpack_dir="$1"; shift if [ -z "$unpack_dir" ]; then - unpack_dir=$(echo unpacked_$(basename $archive_file) | sed -e 's/^\([^\.]*\)\..*/\1/') + unpack_dir=$(echo from_$(basename $archive_file) | sed -e 's/^\([^\.]*\)\..*/\1/') fi if [ ! -d "$unpack_dir" ]; then