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
43ac528d
Commit
43ac528d
authored
Jun 25, 2003
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* toolbox:
+ Disabled useless verbosity. + Fixed some incorrect ">/dev/null 2>&1" semantics.
parent
9269acf9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
toolbox
toolbox
+7
-7
No files found.
toolbox
View file @
43ac528d
#! /bin/sh
#! /bin/sh
## toolbox for the VLC media player
## toolbox for the VLC media player
## $Id: toolbox,v 1.2
6 2003/06/21 17:04:20
sam Exp $
## $Id: toolbox,v 1.2
7 2003/06/25 03:08:57
sam Exp $
##
##
## Authors: Samuel Hocevar <sam@zoy.org>
## Authors: Samuel Hocevar <sam@zoy.org>
...
@@ -353,7 +353,7 @@ fi
...
@@ -353,7 +353,7 @@ fi
##
##
if
test
"
${
action
}
"
=
"includes"
if
test
"
${
action
}
"
=
"includes"
then
then
set
-x
#
set -x
LIBVLC_HEADERS
=
`
getfiles HEADERS_include
`
LIBVLC_HEADERS
=
`
getfiles HEADERS_include
`
BUILTINS
=
`
while
test
$#
-gt
0
;
do
echo
$1
;
shift
;
done
`
BUILTINS
=
`
while
test
$#
-gt
0
;
do
echo
$1
;
shift
;
done
`
...
@@ -368,7 +368,7 @@ then
...
@@ -368,7 +368,7 @@ then
echo
'#ifdef __PLUGIN__'
>>
${
file
}
.in
echo
'#ifdef __PLUGIN__'
>>
${
file
}
.in
cat
${
LIBVLC_HEADERS
}
|
grep
'^ *VLC_EXPORT.*;'
|
sed
-e
's/VLC_EXPORT( *\([^,]*\), *\([^,]*\), *\(.*\));.*/# define \2 p_symbols->\2_inner/'
>>
${
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
echo
'#endif /* __PLUGIN__ */'
>>
${
file
}
.in
if
diff
2>&1
>
/dev/null
${
file
}
${
file
}
.in
if
diff
>
/dev/null 2>&1
${
file
}
${
file
}
.in
then
then
rm
-f
${
file
}
.in
rm
-f
${
file
}
.in
else
else
...
@@ -382,7 +382,7 @@ then
...
@@ -382,7 +382,7 @@ then
echo
'#define STORE_SYMBOLS( p_symbols ) \'
>>
${
file
}
.tmp
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
cat
${
LIBVLC_HEADERS
}
|
grep
'^ *VLC_EXPORT.*;'
|
sed
-e
's/VLC_EXPORT( *\([^,]*\), *\([^,]*\), *\(.*\));.*/ (p_symbols)->\2_inner = \2; \\/'
>>
${
file
}
.tmp
echo
''
>>
${
file
}
.tmp
echo
''
>>
${
file
}
.tmp
if
diff
2>&1
>
/dev/null
${
file
}
${
file
}
.tmp
if
diff
>
/dev/null 2>&1
${
file
}
${
file
}
.tmp
then
then
rm
-f
${
file
}
.tmp
rm
-f
${
file
}
.tmp
else
else
...
@@ -412,7 +412,7 @@ then
...
@@ -412,7 +412,7 @@ then
fi
fi
echo
" } while( 0 );"
>>
${
file
}
.tmp
echo
" } while( 0 );"
>>
${
file
}
.tmp
echo
""
>>
${
file
}
.tmp
echo
""
>>
${
file
}
.tmp
if
diff
2>&1
>
/dev/null
${
file
}
${
file
}
.tmp
if
diff
>
/dev/null 2>&1
${
file
}
${
file
}
.tmp
then
then
rm
-f
${
file
}
.tmp
rm
-f
${
file
}
.tmp
else
else
...
@@ -436,7 +436,7 @@ then
...
@@ -436,7 +436,7 @@ then
for
file
in
modules/gui/gtk/gnome_interface.c modules/gui/gtk/gtk_interface.c modules/gui/familiar/interface.c
for
file
in
modules/gui/gtk/gnome_interface.c modules/gui/gtk/gtk_interface.c modules/gui/familiar/interface.c
do
do
echo
"fixing
$file
"
echo
"fixing
$file
"
if
grep
"DO NOT EDIT THIS FILE"
$file
2>&1
>
/dev/null
if
grep
"DO NOT EDIT THIS FILE"
$file
>
/dev/null 2>&1
then
then
rm
-f
$file
.
$$
.bak
rm
-f
$file
.
$$
.bak
cat
>
$file
.
$$
.bak
<<
EOF
cat
>
$file
.
$$
.bak
<<
EOF
...
@@ -459,7 +459,7 @@ EOF
...
@@ -459,7 +459,7 @@ EOF
for
file
in
modules/gui/gtk/gtk_support.h modules/gui/familiar/support.h
for
file
in
modules/gui/gtk/gtk_support.h modules/gui/familiar/support.h
do
do
echo
"fixing
$file
"
echo
"fixing
$file
"
if
grep
"DO NOT EDIT THIS FILE"
$file
2>&1
>
/dev/null
if
grep
"DO NOT EDIT THIS FILE"
$file
>
/dev/null 2>&1
then
then
rm
-f
$file
.
$$
.bak
rm
-f
$file
.
$$
.bak
sed
-e
's/DO NOT EDIT.*/Created by glade, fixed by bootstrap/'
\
sed
-e
's/DO NOT EDIT.*/Created by glade, fixed by bootstrap/'
\
...
...
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