aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2017-02-28 15:09:43 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2017-02-28 15:09:43 +0000
commit3b19971bd35cef7da2effc364e7b6eae06d7fdf4 (patch)
tree04c6fe5c45f77fd122a47182b58ba49b9e43587b /libgo
parentf06d66aad5624959c68bbc6dd4e8878c01f7350f (diff)
libgo: fix quoting in mksigtab.sh
The quoting was causing us to never add the system-specific signals. The test for this is misc/cgo/testcarchive in the master repo, which we don't yet run for gccgo. Reviewed-on: https://go-review.googlesource.com/37453 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245776 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rw-r--r--libgo/mksigtab.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/mksigtab.sh b/libgo/mksigtab.sh
index d33b7e2ff0b..78b1655a517 100644
--- a/libgo/mksigtab.sh
+++ b/libgo/mksigtab.sh
@@ -56,7 +56,7 @@ echo ' _SIGSYS: {_SigThrow, "SIGSYS: bad system call"},'
# Handle signals that are not supported on all systems.
checksig() {
- if grep 'const $1 = ' gen-sysinfo.go >/dev/null 2>&1; then
+ if grep "const $1 = " gen-sysinfo.go >/dev/null 2>&1; then
echo " $1: $2,"
fi
}