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
ccdfdfdf
Commit
ccdfdfdf
authored
Feb 23, 2010
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: Also fix up .pc file on Mac OS X.
parent
544625f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
extras/contrib/change_prefix.sh
extras/contrib/change_prefix.sh
+5
-3
No files found.
extras/contrib/change_prefix.sh
View file @
ccdfdfdf
...
...
@@ -45,7 +45,7 @@ fi
cd
$top_dir
pwd
files
=
`
find
.
-type
f
`
for
file
in
$files
;
do
for
file
in
$files
;
do
if
test
".
`
file
$file
|
grep
Mach-O
`
"
!=
"."
;
then
echo
"Changing prefixes of '
$file
'"
islib
=
n
...
...
@@ -64,11 +64,13 @@ for file in $files; do
fi
fi
done
elif
test
".
`
file
$file
|
grep
\"
text
\|
shell
\"
`
"
!=
"."
;
then
echo
"Fixing up shell/text file "
$file
""
elif
test
".
`
file
$file
|
grep
\"
text
\|
shell
\"
`
"
!=
"."
-o
".
`
echo
$file
|
grep
pc
$`
" != "
.
"
; then
echo "
Fixing up shell/text
/pc
file
"
$file
""
cp
$file
$file
.tmp
sed -e "
s,
$prefix
,
$new_prefix
,g
" <
$file
>
$file
.tmp
mv -f
$file
.tmp
$file
else
echo "
Not doing anything with
$file
"
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