|
|
@ -34,11 +34,6 @@ maven_postmake() { |
|
|
|
# But make sure to preserve any possible links. |
|
|
|
( cd $builddir/maven-${ver}; tar -c * | tar -x -C $root/$prefix ) |
|
|
|
|
|
|
|
# Unfortunately the acces right need to be changed. The archive |
|
|
|
# was probably created under Windows. |
|
|
|
chmod +ux $root/$prefix/bin/mvn |
|
|
|
chmod -R +ur $root/$prefix |
|
|
|
|
|
|
|
# Prepare necessary environment variables. |
|
|
|
cat <<-EOF > $root/etc/profile.d/maven |
|
|
|
PATH=\$PATH:$root/$prefix/bin |
|
|
|