avoid bug if /bin/sh is dash -- use single quotes around \1
This commit is contained in:
@@ -20,9 +20,9 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cd $PLAN9
|
cd $PLAN9
|
||||||
echo "
|
echo '
|
||||||
X ,s;$old(\$|/|});$new\\1;g
|
X ,s;'$old'($|/|});'$new'\1;g
|
||||||
X/'/w
|
X/'"'"'/w
|
||||||
q
|
q
|
||||||
" | sam -d `cat lib/moveplan9.files` >/dev/null 2>&1
|
' | sam -d `cat lib/moveplan9.files` >/dev/null 2>&1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user