File tree 1 file changed +4
-7
lines changed
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 18
18
}
19
19
20
20
parse_args () {
21
- # BINDIR is ./bin unless set be ENV
22
- # over-ridden by flag below
21
+ # BINDIR is ./bin unless set be ENV
22
+ # overridden by flag below
23
23
24
24
BINDIR=${BINDIR:- ./ bin}
25
25
while getopts " b:dh?x" arg; do
@@ -150,9 +150,6 @@ is_command() {
150
150
echoerr () {
151
151
echo " $@ " 1>&2
152
152
}
153
- log_prefix () {
154
- echo " $0 "
155
- }
156
153
_logp=6
157
154
log_set_priority () {
158
155
_logp=" $1 "
@@ -200,7 +197,7 @@ uname_os() {
200
197
mingw* ) os=" windows" ;;
201
198
cygwin* ) os=" windows" ;;
202
199
win* ) os=" windows" ;;
203
- sunos) [ $( uname -o) = = " illumos" ] && os=illumos ;;
200
+ sunos) [ " $( uname -o) " = " illumos" ] && os=illumos ;;
204
201
esac
205
202
echo " $os "
206
203
}
@@ -218,7 +215,7 @@ uname_arch() {
218
215
armv7* ) arch=" armv7" ;;
219
216
loongarch64) arch=" loong64" ;;
220
217
esac
221
- echo ${arch}
218
+ echo " ${arch} "
222
219
}
223
220
uname_os_check () {
224
221
os=$( uname_os)
You can’t perform that action at this time.
0 commit comments