Skip to content

Commit

Permalink
Fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
SaicharanKandukuri authored Sep 26, 2021
1 parent 6d7fb7b commit 0732c2c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions etc/scripts/hippo/hippo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,10 @@ function __verify_bin_path()
BINPATH="${SHELL}"

if [ -z "$BINPATH" ]; then
if [ "$BINPATH" == "/data/data/com.termux/files/*" ]; then
if [ "$BINPATH" != "/data/data/com.termux/files/*" ]; then
msg "This has to be done inside termux environment"
die "\$SHELL != $BINPATH"
exit 1
fi
fi
}
Expand Down Expand Up @@ -238,4 +239,4 @@ if [ $# -ge 1 ]; then
esac
else
_lauch_or_install "$@"
fi
fi

0 comments on commit 0732c2c

Please sign in to comment.