quoted paths

This commit is contained in:
Mihail Slobodyanuk 2022-12-09 21:29:53 +02:00
parent 0cd4b8a640
commit 7d7db57319

View file

@ -4,13 +4,13 @@
# mesh and enables it in systemd. You can give it the PKGARCH= argument
# i.e. PKGARCH=i386 sh contrib/deb/generate.sh
if [ $(pwd) != $(git rev-parse --show-toplevel) ]
if [ "$(pwd)" != "$(git rev-parse --show-toplevel)" ]
then
echo "You should run this script from the top-level directory of the git repo"
exit 1
fi
PKGBRANCH=$(basename $(git name-rev --name-only HEAD))
PKGBRANCH=$(basename "$(git name-rev --name-only HEAD)")
PKG=$(sh contrib/semver/name.sh)
PKGVERSION=$(sh contrib/semver/version.sh --bare)
PKGARCH=${PKGARCH-amd64}