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
b619d281
Commit
b619d281
authored
Apr 14, 2003
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./toolbox: fixed a bashism.
parent
83092975
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
toolbox
toolbox
+10
-10
No files found.
toolbox
View file @
b619d281
#! /bin/sh
## toolbox for the VLC media player
## $Id: toolbox,v 1.2
1 2003/04/09 16:05:5
8 sam Exp $
## $Id: toolbox,v 1.2
2 2003/04/14 23:07:3
8 sam Exp $
##
## Authors: Samuel Hocevar <sam@zoy.org>
...
...
@@ -359,11 +359,11 @@ then
echo
'#ifdef __PLUGIN__'
>>
${
file
}
.in
cat
${
LIBVLC_HEADERS
}
|
grep
'^ *VLC_EXPORT.*;'
|
sed
-e
's/VLC_EXPORT( *\([^,]*\), *\([^,]*\), *\(.*\));.*/# define \2 p_symbols->\2_inner/'
>>
${
file
}
.in
echo
'#endif /* __PLUGIN__ */'
>>
${
file
}
.in
if
!
diff
-q
${
file
}
${
file
}
.in
if
diff
-q
${
file
}
${
file
}
.in
then
mv
-f
${
file
}
.in
${
file
}
else
rm
-f
${
file
}
.in
else
mv
-f
${
file
}
.in
${
file
}
fi
file
=
src/misc/modules_plugin.h
...
...
@@ -373,11 +373,11 @@ then
echo
'#define STORE_SYMBOLS( p_symbols ) \'
>>
${
file
}
.tmp
cat
${
LIBVLC_HEADERS
}
|
grep
'^ *VLC_EXPORT.*;'
|
sed
-e
's/VLC_EXPORT( *\([^,]*\), *\([^,]*\), *\(.*\));.*/ (p_symbols)->\2_inner = \2; \\/'
>>
${
file
}
.tmp
echo
''
>>
${
file
}
.tmp
if
!
diff
-q
${
file
}
${
file
}
.tmp
if
diff
-q
${
file
}
${
file
}
.tmp
then
mv
-f
${
file
}
.tmp
${
file
}
else
rm
-f
${
file
}
.tmp
else
mv
-f
${
file
}
.tmp
${
file
}
fi
file
=
src/misc/modules_builtin.h
...
...
@@ -403,11 +403,11 @@ then
fi
echo
" } while( 0 );"
>>
${
file
}
.tmp
echo
""
>>
${
file
}
.tmp
if
!
diff
-q
${
file
}
${
file
}
.tmp
if
diff
-q
${
file
}
${
file
}
.tmp
then
mv
-f
${
file
}
.tmp
${
file
}
else
rm
-f
${
file
}
.tmp
else
mv
-f
${
file
}
.tmp
${
file
}
fi
exit
0
...
...
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