Remove bash specific syntax from deb build script.

This commit is contained in:
Daniel Wróbel 2020-06-24 19:59:27 +02:00 committed by GitHub
parent a9ce9ec6d0
commit 4d2826aa73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ echo "Package: syncplay
Version: "$(
sed -n -e "s/^.*version = //p" syncplay/__init__.py | sed "s/'//g"
)$(
if [[ $(git describe --exact-match --tags HEAD | wc -l) = '0' ]];
if [ $(git describe --exact-match --tags HEAD | wc -l) = '0' ];
then
echo -git-$(date -u +%y%m%d%H%M)
fi