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

neil_a_wilson
17.21.2006 170bf9ef7250618cc02ca153d83fe4fb4855833a
Rename the "setup.sh" script to "setup" and update all references to it to use
the correct name.

OpenDS Issue Number: 993
1 files renamed
4 files modified
20 ■■■■ changed files
opends/build.xml 8 ●●●● patch | view | raw | blame | history
opends/resource/README 6 ●●●● patch | view | raw | blame | history
opends/resource/setup 2 ●●● patch | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/SetupLauncher.java 2 ●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/tools/InstallDS.java 2 ●●● patch | view | raw | blame | history
opends/build.xml
@@ -470,12 +470,12 @@
      <fileset file="${resource.dir}/README" />
    </copy>
    <fixcrlf srcDir="${resource.dir}" destDir="${pdir}" includes="setup.sh"
    <fixcrlf srcDir="${resource.dir}" destDir="${pdir}" includes="setup"
         eol="lf" />
    <fixcrlf srcDir="${resource.dir}" destDir="${pdir}" includes="setup.bat"
         eol="crlf" />
    <chmod file="${pdir}/*.sh" perm="755" />
    <chmod file="${pdir}/setup" perm="755" />
    <chmod perm="755">
      <fileset dir="${pdir}/bin">
        <exclude name="*.bat"/>
@@ -492,7 +492,7 @@
    <zip destfile="${package.dir}/OpenDS-${pkgversion}.zip">
      <zipfileset dir="${package.dir}" includes="**/*"
           excludes="OpenDS-${pkgversion}/bin/*,OpenDS-${pkgversion}/setup.sh"
           excludes="OpenDS-${pkgversion}/bin/*,OpenDS-${pkgversion}/setup"
           filemode="644" dirmode="755" />
      <zipfileset dir="${package.dir}"
           includes="OpenDS-${pkgversion}/bin/*.bat"
@@ -500,7 +500,7 @@
      <zipfileset dir="${package.dir}" includes="OpenDS-${pkgversion}/bin/*"
           excludes="OpenDS-${pkgversion}/bin/*.bat"
           filemode="755" dirmode="755" />
      <zipfileset dir="${package.dir}" includes="OpenDS-${pkgversion}/setup.sh"
      <zipfileset dir="${package.dir}" includes="OpenDS-${pkgversion}/setup"
           filemode="755" dirmode="755" />
    </zip>
  </target>
opends/resource/README
@@ -3,9 +3,9 @@
This archive contains the OpenDS Directory Server.  Complete documentation for
this product may be found online at https://OpenDS.dev.java.net/.
To configure the server, run the setup.sh script on UNIX-based platforms, or
the setup.bat batch file on Windows.  To start the server, run bin/start-ds.sh
on UNIX-based platforms, or bin\start-ds.bat on Windows systems.
To configure the server, run the setup script on UNIX-based platforms, or the
setup.bat batch file on Windows.  To start the server, run bin/start-ds.sh on
UNIX-based platforms, or bin\start-ds.bat on Windows systems.
This product is made available under the Common Development and Distribution
License (CDDL).  The complete text for this license, and for alternate licenses
opends/resource/setup
File was renamed from opends/resource/setup.sh
@@ -111,5 +111,5 @@
# Launch the setup process.
"${JAVA_BIN}" org.opends.quicksetup.SetupLauncher -P setup.sh "${@}"
"${JAVA_BIN}" org.opends.quicksetup.SetupLauncher -P setup "${@}"
opends/src/quicksetup/org/opends/quicksetup/SetupLauncher.java
@@ -45,7 +45,7 @@
{
  private static String COMMAND_NAME_WINDOWS = "setup.bat";
  private static String COMMAND_NAME_UNIX = "setup.sh";
  private static String COMMAND_NAME_UNIX = "setup";
  /**
   * The main method which is called by the setup command lines.
opends/src/server/org/opends/server/tools/InstallDS.java
@@ -143,7 +143,7 @@
    }
    else
    {
      programName = "setup.sh";
      programName = "setup";
    }