From 319bb1561577ae40580c54273b32a8ac159977f3 Mon Sep 17 00:00:00 2001 From: Aaruni Kaushik Date: Tue, 4 Jun 2024 17:37:44 +0200 Subject: [PATCH] don't clone maps, use whatever is checked out --- pkg/rpm/build-rpm.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/rpm/build-rpm.sh b/pkg/rpm/build-rpm.sh index 4d898e0..47ce2e6 100644 --- a/pkg/rpm/build-rpm.sh +++ b/pkg/rpm/build-rpm.sh @@ -2,6 +2,8 @@ set -e +MAPSDIR=$(pwd) + echo "Setting up rpmbuild dir" rpmdev-setuptree @@ -9,8 +11,7 @@ echo "cd to rpmbuild" cd "$HOME/rpmbuild" ls -echo "cloning maps" -git clone "https://github.com/aaruni96/maps" +mv -v $MAPSDIR ./ ls VERSION=$(cat maps/Readme.md | grep -i 'version' | head -n 1 | sed 's/^.*version-//' | sed 's/-.*//').0.1