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 717e31d6da1c3587801ae3e6abf3a6ad9efcc833..5c4fc9ba34eba5754b28f47ff7cf7c999c901b87 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 0448d9a9f1ae72a03d2730e2a4558c4a050b18af..080029c7320a7b549b137e1a4eab1aec682a828a 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 '{}' +                                              \
   \)