${GREP} can only be used after loading 'conf'.

This commit is contained in:
pjd 2010-08-06 21:58:53 +00:00
parent f87a4aad92
commit e7da3338b6

View File

@ -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