EOF & whitespace
This commit is contained in:
+2
-4
@@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
VERSION_DEB=$(cat /etc/debian_version | cut -d "." -f 1)
|
||||
VERSION_DEB=$(cat /etc/debian_version | cut -d "." -f 1)
|
||||
VERSION_SHORT=$(cat ../tisbackup.py | grep "__version__" | cut -d "=" -f 2 | sed 's/"//g')
|
||||
GIT_COUNT=`git rev-list HEAD --count`
|
||||
GIT_COUNT=`git rev-list HEAD --count`
|
||||
VERSION="${VERSION_SHORT}.${GIT_COUNT}-deb${VERSION_DEB}"
|
||||
|
||||
rm -f *.deb
|
||||
@@ -32,5 +32,3 @@ rsync -aP ../samples/tisbackup-config.ini.sample ./builddir/etc/tis/tisbackup-c
|
||||
chmod 755 ./builddir/opt/tisbackup/tisbackup.py
|
||||
|
||||
dpkg-deb --build builddir tis-tisbackup-1-${VERSION}.deb
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user