use portable conditional expression in test.sh

[[ expression ]] is bash-specific, so we use [ expression ] instead.
This commit is contained in:
Joel Dice 2013-12-06 20:51:22 -07:00
parent afc3c64e37
commit e50ee5152a

View File

@ -12,7 +12,7 @@ tests=${@}
log=log.txt
if [[ ! -z ${ld_path} ]]; then
if [ -n "${ld_path}" ]; then
export ${ld_path}
fi