mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Ludovic Poitou
20.42.2011 b08143818d5cd4c8fcbb6bd2949f577ce042239c
Fix issue when building SVR4 packages as a user called "build" : the command names containing "build" get changed to root and the package fails.
1 files modified
9 ■■■■■ changed files
opends/build-svr4.xml 9 ●●●●● patch | view | raw | blame | history
opends/build-svr4.xml
@@ -23,6 +23,7 @@
 !
 !
 !      Copyright 2006-2009 Sun Microsystems, Inc.
 !      Portions Copyright 2011 ForgeRock AS
 ! -->
<project name="SVR4 Packaging" basedir="." default="package-svr4">
@@ -132,12 +133,12 @@
        <echo file="${svr4.meta.dir}/prototype" append="true">i pkginfo
i copyright</echo>
    <replaceregexp file="${svr4.meta.dir}/prototype"
                         match="${user.name}"
                         replace="root"
                         match=" ${user.name} "
                         replace=" root "
                         byline="true"/>
    <replaceregexp file="${svr4.meta.dir}/prototype"
                         match="${user.group}"
                         replace="sys"
                         match=" ${user.group}"
                         replace=" sys"
                         byline="true"/>
  </target>