You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Android_boot_image_editor/gradlew

23 lines
392 B
Bash

#!/usr/bin/env sh
if [ "x$1" = "xassemble" ]; then
echo "already assembled"
exit
fi
if [ "x$1" = "xcheck" ]; then
echo "no check is needed"
exit 0
fi
if [ "x$1" = "xclean" ]; then
echo "no cleaning is needed"
exit 0
fi
if [ "$(echo "$2" | grep -E '^\-Dpart=')" ]; then
set -x
java "$2" -jar bbootimg/bbootimg.jar "$1"
else
set -x
java -jar bbootimg/bbootimg.jar "$@"
fi