Skip to content

Commit

Permalink
Update gradle.spec
Browse files Browse the repository at this point in the history
Signed-off-by: madomado <[email protected]>
  • Loading branch information
madonuko authored Jul 12, 2024
1 parent ec5f2b5 commit dd124b0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions anda/tools/buildsys/gradle/gradle.spec
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ mv %{name}-%_ver/README .
mv %{name}-%_ver/LICENSE .
rmdir %{name}-%_ver
unzip %{SOURCE0}
cd %{name}-%_ver

cat <<EOF > dist/gradle.sh
cat <<EOF > gradle.sh
#!/bin/sh
export GRADLE_HOME=/usr/share/java/gradle
EOF
Expand Down Expand Up @@ -68,7 +67,7 @@ export PATH="/usr/lib/jvm/java-11-openjdk/bin:${PATH}"
cd %{name}-%_ver/dist

# install profile.d script
install -Dm755 gradle.sh %{buildroot}/etc/profile.d/
install -Dm755 ../../gradle.sh %{buildroot}/etc/profile.d/

# create the necessary directory structure
install -d "%{buildroot}/usr/share/java/%{name}/bin"
Expand Down

0 comments on commit dd124b0

Please sign in to comment.