gdb: fix shellcheck warning in update-freebsd.sh
shellcheck reports: In update-freebsd.sh line 72: }' $1 >> freebsd.xml.tmp ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: }' "$1" >> freebsd.xml.tmp For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... Add double quotes to fix it. gdb/ChangeLog: * syscalls/update-freebsd.sh: Add double quotes.
This commit is contained in:
parent
2b2fbab8ef
commit
a55e30b51b
@ -1,3 +1,7 @@
|
||||
2020-04-28 Simon Marchi <simon.marchi@efficios.com>
|
||||
|
||||
* syscalls/update-freebsd.sh: Add double quotes.
|
||||
|
||||
2020-04-28 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* NEWS: Update.
|
||||
|
@ -69,7 +69,7 @@ awk '
|
||||
}
|
||||
/\/\* [0-9]* is freebsd[0-9]* [a-z_]* \*\// {
|
||||
printf " <syscall name=\"%s_%s\" number=\"%s\" alias=\"%s\"/>\n", $4, $5, $2, $5
|
||||
}' $1 >> freebsd.xml.tmp
|
||||
}' "$1" >> freebsd.xml.tmp
|
||||
|
||||
cat >> freebsd.xml.tmp <<EOF
|
||||
</syscalls_info>
|
||||
|
Loading…
Reference in New Issue
Block a user