v2ray/dc1svr/build.sh
2019-02-20 23:06:34 +08:00

31 lines
491 B
Bash
Executable File

#!/bin/sh
MODULE=dc1svr
VERSION=1.1
TITLE=dc1服务器
DESCRIPTION=dc1服务器
HOME_URL=Module_dc1svr.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