summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2006-06-01 09:34:30 +0000
committerAndreas Gruenbacher <agruen@suse.de>2006-06-01 09:34:30 +0000
commit6ad8594b3c31377c84047811d163496cc4053be2 (patch)
tree6cef8dad9d873cfafd1b9a74e6cee02c24e459da /compat
parentb016adc0a1db11d16a0344987eb404030d26a21a (diff)
downloadquilt-6ad8594b3c31377c84047811d163496cc4053be2.tar.gz
- compat/rpmbuild.in: Add a version that tries to execute a
rpmbuild that may have been installed after building quilt. - compat/diffstat.in: Same as for compat/rpmbuild.in, try to execute rpmbuild even though none was there at quilt build time. - aclocal.m4: Fix a quoting error.
Diffstat (limited to 'compat')
-rw-r--r--compat/diffstat.in6
-rw-r--r--compat/rpmbuild.in6
2 files changed, 10 insertions, 2 deletions
diff --git a/compat/diffstat.in b/compat/diffstat.in
index f194ccf..b4f6e02 100644
--- a/compat/diffstat.in
+++ b/compat/diffstat.in
@@ -1,4 +1,6 @@
#! @BASH@
-echo "diffstat support has not been built into \`quilt'" >&2
-exit 1
+QUILT_COMPAT=@QUILT_DIR@/compat
+QUILT_COMPAT=${QUILT_COMPAT//\//\\\/}
+PATH=${PATH//$QUILT_COMPAT/}
+exec "${0##*/}" "$@"
diff --git a/compat/rpmbuild.in b/compat/rpmbuild.in
new file mode 100644
index 0000000..b4f6e02
--- /dev/null
+++ b/compat/rpmbuild.in
@@ -0,0 +1,6 @@
+#! @BASH@
+
+QUILT_COMPAT=@QUILT_DIR@/compat
+QUILT_COMPAT=${QUILT_COMPAT//\//\\\/}
+PATH=${PATH//$QUILT_COMPAT/}
+exec "${0##*/}" "$@"