${GREP} can only be used after loading 'conf'.
This commit is contained in:
parent
f87a4aad92
commit
e7da3338b6
@ -9,7 +9,7 @@ path1021="${name255}/${name255}/${name255}/${name253}"
|
||||
path1023="${path1021}/x"
|
||||
path1024="${path1023}x"
|
||||
|
||||
echo ${dir} | ${GREP} -E '^/' >/dev/null 2>&1
|
||||
echo ${dir} | grep '^/' >/dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
maindir="${dir}/../.."
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user