浏览代码

[156623] Solaris/HP-UX setup can only be run from the SERVER ROOT
FIX: cd to the SERVER ROOT, first.

Noriko Hosoi 20 年之前
父节点
当前提交
fc097ca1d2
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      ldap/cm/newinst/setup.sh

+ 3 - 0
ldap/cm/newinst/setup.sh

@@ -36,6 +36,9 @@
 # All rights reserved.
 # --- END COPYRIGHT BLOCK ---
 
+setupdir=`dirname $0`
+cd ${setupdir}
+
 # Configure nsPerl
 if [ ! -f "./tools/perl" ]; then
     ./tools/nsPerl5.6.1/install > /dev/null