chiark / gitweb /
cvs-adjustroot: reinvoke oursevles via "$0" rather than our hardcoded name. Makes...
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 5 Nov 2016 12:07:15 +0000 (12:07 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 5 Nov 2016 12:24:30 +0000 (12:24 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/changelog
scripts/cvs-adjustroot

index 717e31d..5c4fc9b 100644 (file)
@@ -7,6 +7,8 @@ chiark-utils (4.5.0~iwj5) unstable; urgency=medium
     Fixes the first half of #839708.
   * cvs-adjustroot: silently succeed for */CVS/Root entries which
     already match the new value.  Closes:#839708 (second half).
+  * cvs-adjustroot: reinvoke oursevles via "$0" rather than
+    our hardcoded name.  Makes testing easier, etc.
 
  --
 
index 0448d9a..080029c 100755 (executable)
@@ -48,6 +48,6 @@ fi
 # nonzero exit status when appropriate.
 
 find   -path '*/CVS/Root'                                              \
-  \(   -exec cvs-adjustroot --reinvoke "$old" "$new" '{}' ';'          \
+  \(   -exec "$0" --reinvoke "$old" "$new" '{}' ';'                    \
   -o   -exec false '{}' +                                              \
   \)