Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
graphicsframework
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Oliver Behnke
graphicsframework
Commits
6376bf89
Commit
6376bf89
authored
14 years ago
by
Oliver Bock
Browse files
Options
Downloads
Patches
Plain Diff
SDL switched from SVN to HG
parent
f4b294c0
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
build.sh
+5
-6
5 additions, 6 deletions
build.sh
with
5 additions
and
6 deletions
build.sh
+
5
−
6
View file @
6376bf89
...
...
@@ -146,7 +146,7 @@ check_prerequisites()
echo
"Checking prerequisites..."
|
tee
-a
$LOGFILE
# required toolchain
TOOLS
=
"automake autoconf m4 cmake wget svn cvs tar patch gcc g++ ld libtool ar lex yacc pkg-config"
TOOLS
=
"automake autoconf m4 cmake wget svn cvs tar patch gcc g++ ld libtool ar lex yacc pkg-config
hg
"
for
tool
in
$TOOLS
;
do
if
!
(
type
$tool
>
/dev/null 2>&1
)
;
then
...
...
@@ -215,14 +215,13 @@ prepare_sdl()
mkdir
-p
$ROOT
/build/sdl
>>
$LOGFILE
||
failure
cd
$ROOT
/3rdparty/sdl
||
failure
if
[
-d
.
svn
]
;
then
if
[
-d
.
hg
]
;
then
echo
"Updating SDL..."
|
tee
-a
$LOGFIL
# make sure local changes (patches) are reverted, hence also updated
svn revert
-R
.
>>
$LOGFILE
2>&1
||
failure
svn update
>>
$LOGFILE
2>&1
||
failure
# local changes (patches) are reverted, hence also updated
hg update
--clean
>>
$LOGFILE
2>&1
||
failure
else
echo
"Retrieving SDL (this may take a while)..."
|
tee
-a
$LOGFILE
svn checkout
http://
svn
.libsdl.org/
branches/SDL-1.2
.
>>
$LOGFILE
2>&1
||
failure
hg clone
-r
SDL-1.2
http://
hg
.libsdl.org/
SDL
.
>>
$LOGFILE
2>&1
||
failure
fi
return
0
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment