Respect maven_version_suffix variable
This commit is contained in:
parent
2d4378dd19
commit
8d565d2138
@ -179,7 +179,7 @@ for cmd in mvn mvnDebug; do
|
|||||||
cat <<EOF >%{buildroot}%{_datadir}/%{name}/bin/$cmd
|
cat <<EOF >%{buildroot}%{_datadir}/%{name}/bin/$cmd
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
export _FEDORA_MAVEN_HOME="%{_datadir}/%{name}"
|
export _FEDORA_MAVEN_HOME="%{_datadir}/%{name}"
|
||||||
exec %{_datadir}/maven/bin/$cmd "\${@}"
|
exec %{_datadir}/maven%{?maven_version_suffix}/bin/$cmd "\${@}"
|
||||||
EOF
|
EOF
|
||||||
chmod 755 %{buildroot}%{_datadir}/%{name}/bin/$cmd
|
chmod 755 %{buildroot}%{_datadir}/%{name}/bin/$cmd
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user