Skip to content

Commit

Permalink
fix rpm build
Browse files Browse the repository at this point in the history
  • Loading branch information
Coloryr committed Oct 11, 2024
1 parent 012627a commit 4b1537b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build/build-rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ done

build_rpm()
{
rpm=colormc-linux-$main_version$version-1.$2.rpm
rpm=colordesktop-linux-$main_version$version-1.$2.rpm

echo "build $rpm"

base=./src/build_out/$1-dotnet
base_dir="$base/colormc_rpm"
base_dir="$base/colordesktop_rpm"

mkdir -p $base_dir/{BUILD,RPMS,SOURCES,SPECS,SRPMS,BUILDROOT}

pdbs=("ColorDesktop.Api.pdb" "ColorDesktop.Launcher" "ColorDesktop.Launcher.pdb"
"libHarfBuzzSharp.so" "libSkiaSharp.so")

bindir=$base_dir/BUILDROOT/colormc-$version-1.$2/usr/share
bindir=$base_dir/BUILDROOT/colordesktop-$version-1.$2/usr/share

mkdir -p $bindir
mkdir -p $bindir/colordesktop
Expand Down
2 changes: 1 addition & 1 deletion build/build-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ build_deb()
echo "build $deb"

base=./src/build_out/$1-dotnet
base_dir="$base/colormc_deb"
base_dir="$base/colordesktop_deb"

mkdir $base_dir

Expand Down

0 comments on commit 4b1537b

Please sign in to comment.