fix testing if a variable exists
This commit is contained in:
parent
e979589357
commit
6a614708ca
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ echo "Test host architecture"
|
|||
run_tests
|
||||
echo
|
||||
|
||||
if [ -n "$FOREIGN_TARGET" ]; then
|
||||
if [ -n "${FOREIGN_TARGET+exists}" ]; then
|
||||
echo "Test foreign architecture ($FOREIGN_TARGET)"
|
||||
MIRI_TEST_TARGET="$FOREIGN_TARGET" run_tests
|
||||
echo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue