diff options
author | Matthieu Patou <mat@matws.net> | 2010-11-02 00:55:25 +1100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-11-05 09:27:19 +0000 |
commit | ac3f8d859d1ab8b1bb9d41c465dd10499151a8c4 (patch) | |
tree | 2f84b87bb8226be75da6c1fbffa09ff0390785fb /selftest/in_screen | |
parent | c378835cb6d660bcd2e0bc6524fc7da5b29963ea (diff) | |
download | samba-ac3f8d859d1ab8b1bb9d41c465dd10499151a8c4.tar.gz |
fix in_screen so that it works on os that don't chdir to $PWD
That's the case on freebsd 7.2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Nov 5 09:27:19 UTC 2010 on sn-devel-104
Diffstat (limited to 'selftest/in_screen')
-rwxr-xr-x | selftest/in_screen | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/selftest/in_screen b/selftest/in_screen index 927d83109bd..8bfbc0101b0 100755 --- a/selftest/in_screen +++ b/selftest/in_screen @@ -39,6 +39,7 @@ printenv | sed "s/\(^[^=]*=\)\(.*\)/export \1'\2'/g" > $basedir/$SERVERNAME.vars cat <<EOF > $basedir/$SERVERNAME.launch +cd $PWD echo \$\$ > $basedir/$SERVERNAME.pid . $basedir/$SERVERNAME.vars echo "\$(date) starting $SERVERNAME" >> $basedir/$SERVERNAME.log |