From 686520cc18487093f21c76112eab6fa949a914f0 Mon Sep 17 00:00:00 2001 From: askiiart Date: Mon, 10 Mar 2025 13:01:51 -0500 Subject: [PATCH] fix cavif references --- run.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/run.sh b/run.sh index 4dcca0a..b54b17a 100755 --- a/run.sh +++ b/run.sh @@ -3,13 +3,13 @@ set -euo pipefail program_name="fjord-launcher-unlocked" -built_dir=${COMPILED_DIR:-/compiled}/cavif +built_dir=${COMPILED_DIR:-/compiled}/$program_name version=$(cat $built_dir/version) repo_dir=${REPO_DIR:-/repo} # skip if already up-to-date # TODO: use the repo instead and check the version with dnf -# yeah this is bad; see also the cavif-aaaaaa thing below +# yeah this is bad; see also the fjord-launcher-unlocked-aaaaaa thing below touch $repo_dir/$program_name-tmp if $(ls $repo_dir/$program_name-* | grep -q "$version"); then rm $repo_dir/$program_name-tmp @@ -25,8 +25,8 @@ rpmdev-setuptree sed -i "s/Version:.*/Version: $version/g" $program_name.spec # build package and move to the repo -rpmbuild -bb cavif.spec -mv ~/rpmbuild/RPMS/x86_64/cavif-$version-* $repo_dir/ +rpmbuild -bb $program_name.spec +mv ~/rpmbuild/RPMS/x86_64/$program_name-$version-* $repo_dir/ # remove old versions cd $repo_dir