v2ray/kms/build.sh

31 lines
469 B
Bash
Raw Normal View History

2018-12-06 05:30:13 +00:00
#!/bin/sh
MODULE=kms
2019-03-13 14:12:46 +00:00
VERSION=1.6.1
2018-12-06 05:30:13 +00:00
TITLE=kms
DESCRIPTION=kms
HOME_URL=Module_kms.asp
# Check and include base
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [ "$MODULE" == "" ]; then
echo "module not found"
exit 1
fi
if [ -f "$DIR/$MODULE/$MODULE/install.sh" ]; then
echo "install script not found"
exit 2
fi
# now include build_base.sh
. $DIR/../softcenter/build_base.sh
# change to module directory
cd $DIR
# do something here
do_build_result