undo dir param remove everything after last slash
This commit is contained in:
parent
0f18374e9d
commit
50b40c87e1
2
sri
2
sri
@ -87,7 +87,7 @@ while [ $# -gt 0 ]; do
|
|||||||
# verify directory exists
|
# verify directory exists
|
||||||
if [ -d "$2" ]; then
|
if [ -d "$2" ]; then
|
||||||
doDir=1
|
doDir=1
|
||||||
hashDir="${2%/*}"
|
hashDir="${2%/}"
|
||||||
elif [ -z "$2" ]; then
|
elif [ -z "$2" ]; then
|
||||||
displayError 1 "No directory specified."
|
displayError 1 "No directory specified."
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user