Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
eb2fbea6
Commit
eb2fbea6
authored
Aug 14, 2013
by
Guillaume Martres
Browse files
Get rid of bashisms in armlink_adapter.sh
Change-Id: If3cd84bb873fbad5622172c9b79ad8ae5485235a
parent
3526f1cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/make/armlink_adapter.sh
View file @
eb2fbea6
#!/bin/
ba
sh
#!/bin/sh
##
## Copyright (c) 2010 The WebM project authors. All Rights Reserved.
##
...
...
@@ -13,20 +13,20 @@
verbose
=
0
set
--
$*
for
i
;
do
if
[
"
$i
"
=
=
"-o"
]
;
then
if
[
"
$i
"
=
"-o"
]
;
then
on_of
=
1
elif
[
"
$i
"
=
=
"-v"
]
;
then
elif
[
"
$i
"
=
"-v"
]
;
then
verbose
=
1
elif
[
"
$i
"
=
=
"-g"
]
;
then
elif
[
"
$i
"
=
"-g"
]
;
then
args
=
"
${
args
}
--debug"
elif
[
"
$on_of
"
=
=
"1"
]
;
then
elif
[
"
$on_of
"
=
"1"
]
;
then
outfile
=
$i
on_of
=
0
elif
[
-f
"
$i
"
]
;
then
infiles
=
"
$infiles
$i
"
elif
[
"
${
i
:0:2
}
"
=
=
"
-l
"
]
;
then
elif
[
"
${
i
#-l
}
"
!
=
"
$i
"
]
;
then
libs
=
"
$libs
${
i
#-l
}
"
elif
[
"
${
i
:0:2
}
"
=
=
"
-L
"
]
;
then
elif
[
"
${
i
#-L
}
"
!
=
"
$i
"
]
;
then
libpaths
=
"
${
libpaths
}
${
i
#-L
}
"
else
args
=
"
${
args
}
${
i
}
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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