Skip to content

Commit

Permalink
don't clone maps, use whatever is checked out
Browse files Browse the repository at this point in the history
  • Loading branch information
aaruni96 committed Jun 4, 2024
1 parent 49d72a7 commit 319bb15
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/rpm/build-rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@

set -e

MAPSDIR=$(pwd)

echo "Setting up rpmbuild dir"
rpmdev-setuptree

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
Expand Down

0 comments on commit 319bb15

Please sign in to comment.