From 81d1cda10ee7d9a46e1cbd1ac9527211e8c31711 Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Mon, 27 Feb 2012 23:04:03 +0000
Subject: [PATCH] Update copyright year and doc link for SVR4 package.

---
 opendj-sdk/opends/src/svr4/OpenDJ/layout.xml |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/opendj-sdk/opends/src/svr4/OpenDJ/layout.xml b/opendj-sdk/opends/src/svr4/OpenDJ/layout.xml
index 5c891b1..ebf1bb8 100644
--- a/opendj-sdk/opends/src/svr4/OpenDJ/layout.xml
+++ b/opendj-sdk/opends/src/svr4/OpenDJ/layout.xml
@@ -31,7 +31,7 @@
     This is a build script that extends the OpenDJ build script by adding
     SVR4 packaging functions.
   </description>
-  
+
 
   <target name="pkgversion"
 	     description="Set svr4.version property" >
@@ -46,14 +46,14 @@
   </taskdef>
 
   <getversionnumber property="svr4.fullversion" />
-  <property name="svr4.version" 
+  <property name="svr4.version"
     value="${MAJOR_VERSION}.${MINOR_VERSION}.${POINT_VERSION}" />
   </target>
 
   <property name="resource.dir"      location="src/resource" />
 
   <!-- Construct layout -->
-  <target name="layout" if="isSunOS" 
+  <target name="layout" if="isSunOS"
 		description="Create layout based on zip layout" >
     <!-- Get the revision number of the current Subversion workspace -->
     <taskdef name="getsvnrevision"
@@ -68,12 +68,12 @@
       </classpath>
     </taskdef>
 
-    <getsvnrevision property="REVISION_NUMBER" /> 
+    <getsvnrevision property="REVISION_NUMBER" />
 
     <property name="zip.dir"
         location="${package.dir}/${product}-${svr4.fullversion}" />
-    
-	<echo 
+
+	<echo
         message="Building layout for ${svr4.name} pkg based on ${zip.dir}" />
 	<!-- copy ZIP layout.
         Use exec instead of copy task to preserve file permissions -->
@@ -83,6 +83,7 @@
 	    <arg value="${zip.dir}"/>
 	    <arg value="${svr4.layout.pkg.dir}"/>
 	</exec>
+        <chmod dir="${svr4.layout.pkg.dir}" perm="755"/>
 	<!-- Remove Windows specific files -->
 	<delete includeemptydirs="true">
 	   <fileset dir="${svr4.layout.pkg.dir}" includes="**/*.exe"/>

--
Gitblit v1.10.0