File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,6 +35,10 @@ if [[ ! -z $FORCE_VERSION ]]; then
3535 VERSION=$FORCE_VERSION
3636fi
3737
38+ VERSION_STRING=
39+ FILE_VERSION_STRING=
40+ BUILD_ARCHITECTURE=
41+
3842function _build_local() {
3943 local cwd=$PWD
4044
@@ -47,7 +51,7 @@ function _build_local() {
4751 if [[ $? == 0 ]]; then
4852 _pack
4953
50- echo -e " \nPackage built successfully"
54+ echo -e " \nPackage built successfully: $NAME $VERSION_STRING $BUILD_ARCHITECTURE "
5155 else
5256 error=1
5357
@@ -66,11 +70,8 @@ function _build() { (
6670 build
6771); }
6872
69- function _pack() { (
73+ function _pack() {
7074 local VERSION_ID=$( source /etc/os-release && echo $VERSION_ID )
71- local VERSION_STRING=
72- local FILE_VERSION_STRING=
73- local BUILD_ARCHITECTURE=
7475 local TARGET=
7576
7677 if [[ -z $EPOCH || $EPOCH == " 0" ]]; then
115116
116117 mkdir -p $( dirname $TARGET )
117118 dpkg-deb --build -Zgzip --root-owner-group $DESTDIR $TARGET
118-
119- ); }
119+ }
120120
121121_build_local
You can’t perform that action at this time.
0 commit comments