From 0df0beb8620d7ae3c119af0d3587800fe8f32c39 Mon Sep 17 00:00:00 2001 From: rsc Date: Sat, 9 Dec 2006 22:48:50 +0000 Subject: avoid bug if /bin/sh is dash -- use single quotes around \1 --- lib/moveplan9.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/moveplan9.sh') diff --git a/lib/moveplan9.sh b/lib/moveplan9.sh index 13105d5e..fbaee271 100644 --- a/lib/moveplan9.sh +++ b/lib/moveplan9.sh @@ -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 -- cgit v1.2.3