Fix bug with trailing slash
This commit is contained in:
parent
e29ff72436
commit
a375428d5d
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
p="$1"
|
||||
p="${1%/}"
|
||||
target=$(readlink "$p")
|
||||
|
||||
case "$target" in
|
||||
|
Loading…
Reference in New Issue
Block a user