Commit b7ea3519 authored by Drew's avatar Drew

Convert to ATBUILD_PACKAGE_VERSION

parent a7c07d7a
......@@ -43,12 +43,6 @@ fi
NAME=$2
shift
fi
;;
--version)
if [ -n "$2" ]; then
VERSION=$2
shift
fi
;;
--depends)
if [ -n "$2" ]; then
......@@ -73,8 +67,8 @@ if [ -z ${NAME+x} ]; then
exit 1
fi
if [ -z ${VERSION+x} ]; then
echo "version is required"
if [ -z ${ATBUILD_PACKAGE_VERSION+x} ]; then
echo "ATBUILD_PACKAGE_VERSION is required"
exit 1
fi
......@@ -92,7 +86,7 @@ PAYLOAD=`grep -o ':payload .*' $SOURCEBINPATH/compiled.atpkg | grep -oP '(?<=").
SOURCEBIN=${PAYLOAD}
PACKAGENAME=${NAME}
DEBFOLDER=/tmp/build/${NAME}
DEBVERSION=$VERSION
DEBVERSION=$ATBUILD_PACKAGE_VERSION
DEBFOLDERNAME=$DEBFOLDER-$DEBVERSION
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment