From 37bbbb5a472671fb2451606671f47149b5ad51ff Mon Sep 17 00:00:00 2001 From: Simon Pintarelli Date: Wed, 28 Aug 2024 22:53:16 +0200 Subject: [PATCH] rpmbuild: use abs path for dstdir the script assumed dstdir is located in top-level projectdir --- rpm/make-rpm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm/make-rpm.sh b/rpm/make-rpm.sh index f6a43ec..b657101 100755 --- a/rpm/make-rpm.sh +++ b/rpm/make-rpm.sh @@ -57,7 +57,7 @@ while true; do done # Remaining dstdir is in $1 -dstdir=$1 +dstdir=$(realpath $1) # Check if the positional argument was provided if [ -z "$dstdir" ]; then