Remove the hard coded path to sed. Fixes #5565

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35832 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Matt Madia 2010-03-12 23:05:37 +00:00
parent 429618d249
commit 7785598bb7
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ for i do
skip=18
if tail +$skip $0 | "/bin"/gzip -cd > /tmp/gztmp$$; then
/bin/chmod 700 /tmp/gztmp$$
prog="`echo $0 | /bin/sed 's|^.*/||'`"
prog="`echo $0 | sed 's|^.*/||'`"
if /bin/ln /tmp/gztmp$$ "/tmp/$prog" 2>/dev/null; then
trap '/bin/rm -f /tmp/gztmp$$ "/tmp/$prog"; exit $res' 0
(/bin/sleep 5; /bin/rm -f /tmp/gztmp$$ "/tmp/$prog") 2>/dev/null &