mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 14:15:06 +03:00
quoted paths
This commit is contained in:
parent
0cd4b8a640
commit
7d7db57319
1 changed files with 2 additions and 2 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue