1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-15 13:05:22 +02:00

[270015] rseserver fails to run on FreeBSD.

This commit is contained in:
David McKnight 2009-04-01 14:18:13 +00:00
parent 4d2c0de4f0
commit 23f7863a0a

View file

@ -10,6 +10,7 @@
# IBM Corporation - initial API and implementation # IBM Corporation - initial API and implementation
# David McKnight (IBM) - [254785] [dstore] RSE Server assumes home directory on target machine # David McKnight (IBM) - [254785] [dstore] RSE Server assumes home directory on target machine
# David McKnight (IBM) - [262013] [dstore][unix] RSE Daemon fails to start server on HP-UX # David McKnight (IBM) - [262013] [dstore][unix] RSE Daemon fails to start server on HP-UX
# David McKnight (IBM) - [270015] rseserver fails to run on FreeBSD.
#******************************************************************************* #*******************************************************************************
use Shell; use Shell;
@ -56,7 +57,7 @@ else
$encryptedPWD = crypt($pwdIN, $passwd); $encryptedPWD = crypt($pwdIN, $passwd);
$classpath=$ENV{CLASSPATH}; $classpath=$ENV{CLASSPATH};
$suOptions="-p"; $suOptions="-";
if ($passwd eq $encryptedPWD) if ($passwd eq $encryptedPWD)
{ {
@ -65,9 +66,9 @@ else
$os = uname(); $os = uname();
chomp($os); chomp($os);
if (lc($os) eq "aix" || lc($os) eq "HP-UX") if (lc($os) eq "linux")
{ {
$suOptions="-"; $suOptions="-p";
} }
# check for the existence of a home directory # check for the existence of a home directory