summaryrefslogtreecommitdiffstats
path: root/compat/rpmbuild.in
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/rpmbuild.in
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/rpmbuild.in')
-rw-r--r--compat/rpmbuild.in6
1 files changed, 6 insertions, 0 deletions
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##*/}" "$@"