This commit is contained in:
斟酌 鵬兄 2017-09-22 10:43:15 +08:00
parent f6c3239846
commit 775950f5af

View File

@ -60,7 +60,7 @@ function go() {
for ((i = 0; i < ${#LOCS[@]}; i++))
do
LOC=${LOCS[i]}
LOCATION=$(ls -d "$UDEV/$SITE/$LOC/*$ARGS3*/" 2> /dev/null )
LOCATION=$(ls -d "$UDEV/$SITE/$LOC/*$ARG3*/" 2> /dev/null )
if [[ -n "$LOCATION" ]]; then
LOCATION="$LOC/$LOCATION"
break