Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
7c79c551
Commit
7c79c551
authored
Mar 12, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't look for svn or git in strange paths, use $PATH
parent
e7003c92
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
20 deletions
+4
-20
extras/contrib/bootstrap
extras/contrib/bootstrap
+4
-20
No files found.
extras/contrib/bootstrap
View file @
7c79c551
...
@@ -278,30 +278,14 @@ else
...
@@ -278,30 +278,14 @@ else
exit
1
exit
1
fi
fi
if
test
-f
/sw/bin/svn
;
then
if
svn
help
>
/dev/null 2>&1
;
then
echo
"SVN = /sw/bin/svn"
>>
config.mak
elif
test
-f
/usr/local/bin/svn
;
then
echo
"SVN = /usr/local/bin/svn"
>>
config.mak
elif
test
-f
/usr/bin/svn
;
then
echo
"SVN = /usr/bin/svn"
>>
config.mak
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 =
`
which svn
`
"
>>
config.mak
echo
"SVN =
`
which svn
`
"
>>
config.mak
else
else
echo
"You do not have a subversion client in
stalled
."
>
&2
echo
"You do not have a subversion client in
your PATH
."
>
&2
fi
fi
if
test
-f
/sw/bin/git
;
then
if
git
help
>
/dev/null 2>&1
;
then
echo
"GIT = /sw/bin/git"
>>
config.mak
elif
test
-f
/usr/local/bin/git
;
then
echo
"GIT = /usr/local/bin/git"
>>
config.mak
elif
test
-f
/usr/bin/git
;
then
echo
"GIT = /usr/bin/git"
>>
config.mak
elif
test
-f
/opt/local/bin/git
;
then
echo
"GIT = /opt/local/bin/git"
>>
config.mak
elif
git
help
>
/dev/null 2>&1
;
then
echo
"GIT =
`
which git
`
"
>>
config.mak
echo
"GIT =
`
which git
`
"
>>
config.mak
else
else
echo
"You do not have a Git client in
stalled
."
>
&2
echo
"You do not have a Git client in
your PATH
."
>
&2
fi
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment