projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37ad931
)
updated to use better name for folder, since one cannot find unpack command as fast if
author
Chris Koeritz
<fred@gruntose.com>
Sat, 29 Sep 2012 20:06:52 +0000
(16:06 -0400)
committer
Chris Koeritz
<fred@gruntose.com>
Sat, 29 Sep 2012 20:06:52 +0000
(16:06 -0400)
that's folder name too.
scripts/archival/unpack.sh
patch
|
blob
|
history
diff --git
a/scripts/archival/unpack.sh
b/scripts/archival/unpack.sh
index de82c021e29a2b717c0cb61f8c65d01a4012e812..89573aba768c6fce365912da3d918f35860d0b46 100644
(file)
--- 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