Commit e3a7f5f8 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

extras/contrib/bootstrap: Store wget, curl and svn as absolute path in...

extras/contrib/bootstrap: Store wget, curl and svn as absolute path in config.mak so they won't get untracked. (Patch by Jan David Mol <jjdmol at gmail.com>).
parent 40792ebd
......@@ -244,9 +244,9 @@ echo "EXTRA_LDFLAGS = ${EXTRA_LDFLAGS}" >> config.mak
echo "EXTRA_PATH = ${EXTRA_PATH}" >> config.mak
if wget --version >/dev/null 2>&1; then
echo "WGET = wget -c" >> config.mak
echo "WGET = `which wget` -c" >> config.mak
elif which curl >/dev/null; then
echo "WGET = curl -L -O" >> config.mak
echo "WGET = `which curl` -L -O" >> config.mak
else
echo "You need at least wget or curl to fetch the packages." >&2
exit 1
......@@ -261,7 +261,7 @@ elif test -f /usr/bin/svn; then
elif test -f /opt/local/bin/svn; then
echo "SVN = /opt/local/bin/svn" >> config.mak
elif svn help >/dev/null 2>&1; then
echo "SVN = svn" >> config.mak
echo "SVN = `which svn`" >> config.mak
else
echo "You do not have a subversion client installed." >&2
fi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment