Browse Source

[Runtime] Fix pal_loader bash script typo

borysp 4 years ago
parent
commit
d4dcbdd76b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Runtime/pal_loader

+ 2 - 2
Runtime/pal_loader

@@ -42,7 +42,7 @@ if [ -z "$PAL_HOST" ]; then
 fi
 
 MANIFEST=
-PREFIX=
+PREFIX=()
 PAL_CMD=$RUNTIME_DIR/pal-$PAL_HOST
 
 if [ "$GDB" == "1" ]; then
@@ -84,7 +84,7 @@ if [ ! -f "$PAL_CMD" ]; then
 	exit 1
 fi
 
-if [ ${#PREIFX[@]} -eq 0 ]; then
+if [ ${#PREFIX[@]} -eq 0 ]; then
     exec "$PAL_CMD" "$MANIFEST" "$@"
 else
     exec "${PREFIX[@]}" "$PAL_CMD" "$MANIFEST" "$@"