dotfiles

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

commit f048ff6aa6fcaf756a8262fbb0b62cc84c88ba1c
parent c71754df895bd9319169c6f607a7525b61bcebdf
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