Fix bug with trailing slash

This commit is contained in:
Nero 2018-03-13 23:53:30 +00:00
parent e29ff72436
commit a375428d5d
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
p="$1"
p="${1%/}"
target=$(readlink "$p")
case "$target" in