Commit b7ea3519 authored by Drew's avatar Drew

Convert to ATBUILD_PACKAGE_VERSION

parent a7c07d7a
...@@ -43,12 +43,6 @@ fi ...@@ -43,12 +43,6 @@ fi
NAME=$2 NAME=$2
shift shift
fi fi
;;
--version)
if [ -n "$2" ]; then
VERSION=$2
shift
fi
;; ;;
--depends) --depends)
if [ -n "$2" ]; then if [ -n "$2" ]; then
...@@ -73,8 +67,8 @@ if [ -z ${NAME+x} ]; then ...@@ -73,8 +67,8 @@ if [ -z ${NAME+x} ]; then
exit 1 exit 1
fi fi
if [ -z ${VERSION+x} ]; then if [ -z ${ATBUILD_PACKAGE_VERSION+x} ]; then
echo "version is required" echo "ATBUILD_PACKAGE_VERSION is required"
exit 1 exit 1
fi fi
...@@ -92,7 +86,7 @@ PAYLOAD=`grep -o ':payload .*' $SOURCEBINPATH/compiled.atpkg | grep -oP '(?<="). ...@@ -92,7 +86,7 @@ PAYLOAD=`grep -o ':payload .*' $SOURCEBINPATH/compiled.atpkg | grep -oP '(?<=").
SOURCEBIN=${PAYLOAD} SOURCEBIN=${PAYLOAD}
PACKAGENAME=${NAME} PACKAGENAME=${NAME}
DEBFOLDER=/tmp/build/${NAME} DEBFOLDER=/tmp/build/${NAME}
DEBVERSION=$VERSION DEBVERSION=$ATBUILD_PACKAGE_VERSION
DEBFOLDERNAME=$DEBFOLDER-$DEBVERSION 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