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:
parent
429618d249
commit
7785598bb7
@ -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 &
|
||||
|
Loading…
Reference in New Issue
Block a user