From d974ed0136e52ef4c4f7e1ed7fc312f8a2a2345d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ralf=20Cors=C3=A9pius?= Date: Wed, 12 Sep 2007 12:42:59 +0200 Subject: [PATCH] Add __CURL. --- configure.ac | 1 + macros.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5a6bc09..6f68b4e 100644 --- a/configure.ac +++ b/configure.ac @@ -226,6 +226,7 @@ AC_PATH_PROG(__CHMOD, chmod, /bin/chmod, $MYPATH) AC_PATH_PROG(__CHOWN, chown, /bin/chown, $MYPATH) AC_PATH_PROG(__CP, cp, /bin/cp, $MYPATH) AC_PATH_PROG(__CPIO, cpio, /bin/cpio, $MYPATH) +AC_PATH_PROG(__CURL, curl, /usr/bin/curl, $MYPATH) AC_PATH_PROG(__FILE, file, /usr/bin/file, $MYPATH) AC_PATH_PROG(__GPG, gpg, /usr/bin/gpg, $MYPATH) AC_PATH_PROG(__GREP, grep, /bin/grep, $MYPATH) diff --git a/macros.in b/macros.in index ee4276d..d8ced30 100644 --- a/macros.in +++ b/macros.in @@ -1220,7 +1220,7 @@ done \ %find_lang @RPMCONFIGDIR@/find-lang.sh %{buildroot} # Commands + opts to use for retrieving remote files -%__urlhelpercmd /usr/bin/curl +%__urlhelpercmd @__CURL@ %__urlhelperopts --silent --show-error --fail --location -o %_urlhelper %{__urlhelpercmd} %{__urlhelperopts} -- 2.7.4