Another refinement, this time from Larry.

This commit is contained in:
Eric Andersen 2001-05-01 16:24:32 +00:00
parent 6d553ef200
commit b9f5b82339
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ RAW=` \
| tr A-Z a-z | sort
`
test "${RAW}" != "" || exit
if [ -d ${$BB_SRC_DIR:-.} ]; then cd $BB_SRC_DIR; fi
if [ -d "$BB_SRC_DIR" ]; then cd $BB_SRC_DIR; fi
# By running $RAW through "ls", we avoid listing
# source files that don't exist.
ls $RAW 2>/dev/null | tr '\n' ' '

View File

@ -9,7 +9,7 @@ RAW=` \
| tr A-Z a-z | sort
`
test "${RAW}" != "" || exit
if [ -d ${$BB_SRC_DIR:-.} ]; then cd $BB_SRC_DIR; fi
if [ -d "$BB_SRC_DIR" ]; then cd $BB_SRC_DIR; fi
# By running $RAW through "ls", we avoid listing
# source files that don't exist.
ls $RAW 2>/dev/null | tr '\n' ' '