Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Commit

Permalink
install: Check BOOTIMG is directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
opnay committed Jul 4, 2015
1 parent f092e2a commit 81ca718
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ if [ ! -e $adb ] || [ "$adb" == "" ]; then
fi

echo -e "BOOTIMG : $BOOTIMG"
if [ -d $BOOTIMG ]; then
echo "$BOOTIMG is directory."
exit
fi
if [ ! -e $BOOTIMG ] || [ "$BOOTIMG" = "" ]; then
echo -e "boot.img was not found"
exit
Expand Down

0 comments on commit 81ca718

Please sign in to comment.