|
|
|
@ -1,8 +1,9 @@
|
|
|
|
|
#!/bin/sh |
|
|
|
|
# --- T2-COPYRIGHT-NOTE-BEGIN --- |
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
|
# |
|
|
|
|
# T2 SDE: package/.../maven/maven.conf |
|
|
|
|
# Filename: package/.../maven/maven.conf |
|
|
|
|
# Copyright (C) 2007 The OpenSDE Project |
|
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
|
# |
|
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
@ -11,7 +12,7 @@
|
|
|
|
|
# it under the terms of the GNU General Public License as published by |
|
|
|
|
# the Free Software Foundation; version 2 of the License. A copy of the |
|
|
|
|
# GNU General Public License can be found in the file COPYING. |
|
|
|
|
# --- T2-COPYRIGHT-NOTE-END --- |
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
|
|
# Prevent executing normal make and install build steps. |
|
|
|
|
# This package has custom make and install. |
|
|
|
@ -35,10 +36,8 @@ maven_postmake() {
|
|
|
|
|
|
|
|
|
|
# Unfortunately the acces right need to be changed. The archive |
|
|
|
|
# was probably created under Windows. |
|
|
|
|
chmod +ux $root/$prefix/bin/m2 |
|
|
|
|
chmod +ur $root/$prefix/bin/m2.conf |
|
|
|
|
chmod +ux $root/$prefix/lib/* |
|
|
|
|
chmod -R +ux $root/$prefix/core |
|
|
|
|
chmod +ux $root/$prefix/bin/mvn |
|
|
|
|
chmod -R +ur $root/$prefix |
|
|
|
|
|
|
|
|
|
# Prepare necessary environment variables. |
|
|
|
|
cat <<-EOF > $root/etc/profile.d/maven |
|
|
|
|