mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-26 16:41:57 +00:00
Resolve ID: 3058120 - can't make svn
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@627 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
0b890ef852
commit
b7674c9e5d
@ -14,6 +14,12 @@ if [ ! -d $1 ] ; then
|
||||
fi
|
||||
cd $1
|
||||
|
||||
# wget used to return 0 (success), but more recent versions
|
||||
# don't so we don't want to bail out in failure mode
|
||||
# eventhough everything is fine.
|
||||
|
||||
set +e
|
||||
|
||||
wget \
|
||||
--mirror \
|
||||
--no-parent \
|
||||
@ -22,3 +28,6 @@ wget \
|
||||
--accept=txt,html \
|
||||
$2
|
||||
|
||||
echo 'wget exit code: ' $?
|
||||
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user