From bec32148b61e15c5645a58a2eddee978f7658671 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sat, 29 Sep 2012 16:06:52 -0400 Subject: [PATCH] updated to use better name for folder, since one cannot find unpack command as fast if that's folder name too. --- scripts/archival/unpack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1