don't quote globs...

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2024-01-06 12:33:31 -08:00
parent c4cb913426
commit 2a7628483e
2 changed files with 3 additions and 3 deletions

View file

@ -87,5 +87,5 @@ if [[ "$1" = "post" ]] ; then
# shellcheck disable=SC2002
cat "$TOPDIR"/subsurface/packaging/copr/subsurface.spec | sed "s/%define latestVersion.*/%define latestVersion $GITVERSION/;s/DESCRIPTION/$DESCRIPTION/;s/SUMMARY/$SUMMARY/" > SPECS/subsurface.spec
rpmbuild --verbose -bs "$(pwd)/SPECS/subsurface.spec"
copr build --nowait $REPO "$(pwd)/SRPMS/subsurface-$GITVERSION-1.fc*.src.rpm"
copr build --nowait $REPO "$(pwd)/SRPMS/subsurface-$GITVERSION"-1.fc*.src.rpm
fi

View file

@ -122,8 +122,8 @@ if [[ "$1" = "post" ]] ; then
# daily vs. release
if [[ "$GITREVISION" == "" ]] ; then
# this is a release
dput ppa:subsurface/subsurface "$FOLDER-$rev~*.changes"
dput ppa:subsurface/subsurface "$FOLDER-$rev"~*.changes
else
dput ppa:subsurface/subsurface-daily "$FOLDER-$rev~*.changes"
dput ppa:subsurface/subsurface-daily "$FOLDER-$rev"~*.changes
fi
fi