Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
60df54eb
Commit
60df54eb
authored
Apr 24, 2019
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Do not overwrite src symlink if it already exists.
Allows running fate from out-of-tree builds on wsl.
parent
09edcd35
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
configure
configure
+3
-1
No files found.
configure
View file @
60df54eb
...
@@ -3742,6 +3742,8 @@ mkdir -p ffbuild
...
@@ -3742,6 +3742,8 @@ mkdir -p ffbuild
# find source path
# find source path
if
test
-f
configure
;
then
if
test
-f
configure
;
then
source_path
=
.
source_path
=
.
elif
test
-f
src/configure
;
then
source_path
=
src
else
else
source_path
=
$(
cd
$(
dirname
"
$0
"
)
;
pwd
)
source_path
=
$(
cd
$(
dirname
"
$0
"
)
;
pwd
)
case
"
$source_path
"
in
case
"
$source_path
"
in
...
@@ -5416,7 +5418,7 @@ link_name=$(mktemp -u $TMPDIR/name_XXXXXXXX)
...
@@ -5416,7 +5418,7 @@ link_name=$(mktemp -u $TMPDIR/name_XXXXXXXX)
mkdir
"
$link_dest
"
mkdir
"
$link_dest
"
$ln_s
"
$link_dest
"
"
$link_name
"
$ln_s
"
$link_dest
"
"
$link_name
"
touch
"
$link_dest
/test_file"
touch
"
$link_dest
/test_file"
if
[
"
$source_path
"
!=
"."
]
&&
([
!
-d
src
]
||
[
-L
src
])
&&
[
-e
"
$link_name
/test_file"
]
;
then
if
[
"
$source_path
"
!=
"."
]
&&
[
"
$source_path
"
!=
"src"
]
&&
([
!
-d
src
]
||
[
-L
src
])
&&
[
-e
"
$link_name
/test_file"
]
;
then
# create link to source path
# create link to source path
[
-e
src
]
&&
rm
src
[
-e
src
]
&&
rm
src
$ln_s
"
$source_path
"
src
$ln_s
"
$source_path
"
src
...
...
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