Skip to content

Commit

Permalink
Fixes bash array bug
Browse files Browse the repository at this point in the history
  • Loading branch information
blegas78 committed Aug 20, 2023
1 parent 62a981c commit 257493b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/libpanda-app-manager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ do_migrate () {

do_interactive () {
PS3="Enter an app number to install: "
OPTIONS="${APPS[*]} None Quit"
OPTIONS="${APPS[@]} None Quit"
OPTION_COUNT=$(echo "${OPTIONS}" | wc -w)
select APP in $OPTIONS
do
Expand Down Expand Up @@ -388,7 +388,7 @@ usage() {
check_app_exists() {
TO_CHECK=$1
RET=1
for APP in ${APPS[*]};
for APP in ${APPS[@]};
do
# echo "Checking |${APP}| against |${TO_CHECK}|"
if [ "$APP" = "$TO_CHECK" ];
Expand Down

0 comments on commit 257493b

Please sign in to comment.