default to ZoneMinder fork and each the type of build
This commit is contained in:
parent
82bdc208ac
commit
e5be2c7b51
|
@ -61,6 +61,8 @@ DATE=`date -R`
|
||||||
if [ "$TYPE" == "" ]; then
|
if [ "$TYPE" == "" ]; then
|
||||||
echo "Defaulting to source build"
|
echo "Defaulting to source build"
|
||||||
TYPE="source";
|
TYPE="source";
|
||||||
|
else
|
||||||
|
echo "Doing $TYPE build"
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
if [ "$DISTRO" == "" ]; then
|
if [ "$DISTRO" == "" ]; then
|
||||||
|
@ -79,6 +81,8 @@ if [ "$RELEASE" != "" ]; then
|
||||||
if [ "$GITHUB_FORK" != "" ] && [ "$GITHUB_FORK" != "ZoneMinder" ]; then
|
if [ "$GITHUB_FORK" != "" ] && [ "$GITHUB_FORK" != "ZoneMinder" ]; then
|
||||||
echo "Releases cannot have a fork ($GITHUB_FORK).... exiting."
|
echo "Releases cannot have a fork ($GITHUB_FORK).... exiting."
|
||||||
exit 0;
|
exit 0;
|
||||||
|
else
|
||||||
|
GITHUB_FORK="ZoneMinder";
|
||||||
fi
|
fi
|
||||||
BRANCH="release-$RELEASE"
|
BRANCH="release-$RELEASE"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue