mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 05:43:30 +01:00
Cleanup shellcheck warnings in autogen.sh
This commit is contained in:
parent
81f1b89efc
commit
88818eacbd
@ -1,9 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if [ -x "`which autoreconf 2>/dev/null`" ] ; then
|
if command -v autoreconf; then
|
||||||
opt="-i -f -W all,error"
|
opt="-i -f -W all,error"
|
||||||
|
|
||||||
for i in $@; do
|
for i in "$@"; do
|
||||||
case "$i" in
|
case "$i" in
|
||||||
-v)
|
-v)
|
||||||
opt="${opt} -v"
|
opt="${opt} -v"
|
||||||
@ -11,6 +11,7 @@ if [ -x "`which autoreconf 2>/dev/null`" ] ; then
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# shellcheck disable=SC2086
|
||||||
exec autoreconf $opt
|
exec autoreconf $opt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
2
changes/ticket26069
Normal file
2
changes/ticket26069
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
o Code simplification and refactoring (shell scripts):
|
||||||
|
- Cleanup autogen.sh to silence shellcheck warnings. Closes ticket 26069.
|
Loading…
Reference in New Issue
Block a user