dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit a7a8f94a592c322e9cf363a6338377776ce8e73f
parent bae314a11eebce8086e5cbd131b574fb2b7e5ada
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Tue,  8 Jan 2019 00:27:41 -0500

posix sh extract fix

Diffstat:
M.scripts/tools/extract | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.scripts/tools/extract b/.scripts/tools/extract @@ -11,7 +11,7 @@ esac done if [ -z "$extracthere" ]; then archive="$(readlink -f "$*")" && - directory=${archive%.*} && + directory="$(echo "$archive" | sed 's/\.[^\/.]*$//')" && mkdir -p "$directory" && cd "$directory" || exit else