Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
b9606f5d
Commit
b9606f5d
authored
Mar 15, 2010
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VLCKit: Use name instead of $1 and $2 in Pre-Compile script.
parent
2211e84c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
projects/macosx/framework/Pre-Compile.sh
projects/macosx/framework/Pre-Compile.sh
+8
-6
No files found.
projects/macosx/framework/Pre-Compile.sh
View file @
b9606f5d
...
...
@@ -140,14 +140,16 @@ vlc_install_object() {
# @param src_lib source library to copy to the destination directory
# @param dest_dir destination directory where the src_lib should be copied to
vlc_install
()
{
local
src_dir
=
$1
local
src
=
$2
local
dest_dir
=
$3
local type
=
$4
if
test
"
$use_archs
"
=
"no"
;
then
vlc_install_object
"
$VLC_BUILD_DIR
/
$
1
/
$2
"
"
$dest_dir
"
"
$type
"
$5
vlc_install_object
"
$VLC_BUILD_DIR
/
$
src_dir
/
$src
"
"
$dest_dir
"
"
$type
"
$5
else
if
test
$type
=
"data"
;
then
vlc_install_object
"
$main_build_dir
/
$
1
/
$2
"
"
$dest_dir
"
"
$type
"
$5
vlc_install_object
"
$main_build_dir
/
$
src_dir
/
$src
"
"
$dest_dir
"
"
$type
"
$5
else
fatdest
=
"
$dest_dir
/
$2
"
shouldUpdateFat
=
"no"
...
...
@@ -160,19 +162,19 @@ vlc_install() {
mkdir
-p
"
$tmp_dest_dir
"
for
arch
in
$ARCHS
;
do
local
src
=
"
$VLC_BUILD_DIR
/
$arch
/
$
1
/
$2
"
local
src
=
"
$VLC_BUILD_DIR
/
$arch
/
$
src_dir
/
$src
"
# Only install if the new image is newer than the one we have installed.
if
((!
test
-e
${
fatdest
}
)
||
test
${
src
}
-nt
${
fatdest
}
)
;
then
vlc_install_object
"
$src
"
"
$tmp_dest_dir
"
"
$type
"
"
$5
"
""
".
$arch
"
local
dest
=
"
$tmp_dest_dir
/
$
2
.
$arch
"
local
dest
=
"
$tmp_dest_dir
/
$
src
.
$arch
"
if
test
-e
${
dest
}
;
then
if
!
test
"
$dest_dir
/
$
2
"
-nt
"
${
dest
}
"
;
then
if
!
test
"
$dest_dir
/
$
src
"
-nt
"
${
dest
}
"
;
then
shouldUpdateFat
=
"yes"
fi
objects
=
"
${
dest
}
$objects
"
else
echo
"Warning: building
$
2
without
$arch
"
echo
"Warning: building
$
src
without
$arch
"
fi
fi
done
;
...
...
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