mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2025-10-07 07:22:36 +02:00
posix sh extract fix
This commit is contained in:
parent
c71754df89
commit
f048ff6aa6
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user