Add __CURL.

This commit is contained in:
Ralf Corsépius 2007-09-12 12:42:59 +02:00
parent 0eb731f01b
commit d974ed0136
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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}