From 6ad8594b3c31377c84047811d163496cc4053be2 Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher Date: Thu, 1 Jun 2006 09:34:30 +0000 Subject: - 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. --- compat/diffstat.in | 6 ++++-- compat/rpmbuild.in | 6 ++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 compat/rpmbuild.in (limited to 'compat') 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##*/}" "$@" -- cgit