chiark / gitweb /
xbatmon-simple: Saner build rune.
[chiark-utils.git] / scripts / cvs-repomove
index 283002bfb0bbd66d53d55f54e550e4322839c5b5..a3bb60f1d70d3873cf71087851249a333674c86b 100755 (executable)
@@ -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,/,:,')"
                        ;;