From adb51f6904fbdc874bb058525fd6f3a3056beae8 Mon Sep 17 00:00:00 2001 From: a1346054 <36859588+a1346054@users.noreply.github.com> Date: Sun, 22 Aug 2021 20:48:55 +0000 Subject: [PATCH] Fix shellcheck warnings --- build_deb.sh | 2 +- build_rpm.sh | 2 +- ppa_release.sh | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build_deb.sh b/build_deb.sh index 0829dea..494b2ec 100755 --- a/build_deb.sh +++ b/build_deb.sh @@ -1,6 +1,6 @@ #!/bin/sh -VERSION=`cat share/torbrowser-launcher/version` +VERSION=$(cat share/torbrowser-launcher/version) # clean up from last build rm -r build deb_dist diff --git a/build_rpm.sh b/build_rpm.sh index 30a79cb..5fc0884 100755 --- a/build_rpm.sh +++ b/build_rpm.sh @@ -1,6 +1,6 @@ #!/bin/sh -VERSION=`cat share/torbrowser-launcher/version` +VERSION=$(cat share/torbrowser-launcher/version) # clean up from last build rm -r build dist diff --git a/ppa_release.sh b/ppa_release.sh index 4d1e592..fc559de 100755 --- a/ppa_release.sh +++ b/ppa_release.sh @@ -12,18 +12,18 @@ # login = anonymous # allow_unsigned_uploads = 0 -VERSION=`cat share/torbrowser-launcher/version` +VERSION=$(cat share/torbrowser-launcher/version) # Make a source pacakge rm -rf deb_dist python3 setup.py --command-packages=stdeb.command sdist_dsc # Sign it -cd deb_dist/torbrowser-launcher-$VERSION +cd "deb_dist/torbrowser-launcher-$VERSION" dpkg-buildpackage -S #dpkg-buildpackage -S -pqubes-gpg-client-wrapper -k927F419D7EC82C2F149C1BD1403C2657CD994F73 cd .. # Push it to the ppa -dput ppa torbrowser-launcher_$VERSION-1_source.changes +dput ppa "torbrowser-launcher_$VERSION-1_source.changes" cd ..