From 9532ae8327cb78467546612f3008e467d092d987 Mon Sep 17 00:00:00 2001 From: ianmdlvl Date: Sun, 7 Sep 2008 17:00:13 +0000 Subject: [PATCH] cvs-repomove: work with Solaris's shoddy sed. (Closes: #497670) --- debian/changelog | 6 ++++++ scripts/cvs-repomove | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 25a7ae7..185deeb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +chiark-utils (4.1.30) unstable; urgency=low + + * cvs-repomove: work with Solaris's shoddy sed. (Closes: #497670) + + -- + chiark-utils (4.1.29) unstable; urgency=low * backup-snaprsync: pass $vardir as argument to snap-drop diff --git a/scripts/cvs-repomove b/scripts/cvs-repomove index 283002b..a3bb60f 100755 --- a/scripts/cvs-repomove +++ b/scripts/cvs-repomove @@ -97,7 +97,7 @@ do_move () { ls -d -- $srcrepo/CVSROOT >/dev/null '" - dstrepotrans="$(printf "%s" "$dstrepo" | tr / :)" + dstrepotrans="$(printf '%s\n' "$dstrepo" | tr / :)" movingto="moving-to-$dsthost:$dstrepotrans" resume="$("$CVS_RSH" "$srchost" bash -ec "' if test -d $srcrepo/$module..$movingto; then @@ -244,7 +244,7 @@ do_furtle () { exit 4 ;; *..moved-to-*) - goose="$(printf "%s" \ + goose="$(printf '%s\n' \ "${new_goose_info#*..moved-to-}" | \ tr : / | sed -e 's,/,:,')" ;; -- 2.30.2