chiark / gitweb /
New tool to do 'baz resolved' and then clean up .orig and .rej files
authorColin Watson <cjwatson@chiark.greenend.org.uk>
Fri, 8 Jul 2005 19:38:22 +0000 (19:38 +0000)
committerColin Watson <cjwatson@chiark.greenend.org.uk>
Fri, 8 Jul 2005 19:38:22 +0000 (19:38 +0000)
(working around a baz bug).

bazresolved [new file with mode: 0755]

diff --git a/bazresolved b/bazresolved
new file mode 100755 (executable)
index 0000000..4faed8f
--- /dev/null
@@ -0,0 +1,8 @@
+#! /bin/sh -e
+# Same as 'baz resolved', but also cleans up .orig and .rej files.
+
+baz resolved "$@"
+
+for file; do
+       rm -f "$file.orig" "$file.rej"
+done