mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
avoid bug if /bin/sh is dash -- use single quotes around \1
This commit is contained in:
parent
8904d7bd3e
commit
0df0beb862
1 changed files with 4 additions and 4 deletions
|
@ -20,9 +20,9 @@ then
|
|||
fi
|
||||
|
||||
cd $PLAN9
|
||||
echo "
|
||||
X ,s;$old(\$|/|});$new\\1;g
|
||||
X/'/w
|
||||
echo '
|
||||
X ,s;'$old'($|/|});'$new'\1;g
|
||||
X/'"'"'/w
|
||||
q
|
||||
" | sam -d `cat lib/moveplan9.files` >/dev/null 2>&1
|
||||
' | sam -d `cat lib/moveplan9.files` >/dev/null 2>&1
|
||||
|
||||
|
|
Loading…
Reference in a new issue