Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unneeded SIG prefix in $Config{sig_name} #47

Open
mstetson opened this issue Feb 12, 2017 · 1 comment
Open

unneeded SIG prefix in $Config{sig_name} #47

mstetson opened this issue Feb 12, 2017 · 1 comment

Comments

@mstetson
Copy link

The module documentation says that signal names in the Config module's sig_name list do not have a SIG prefix, but cnf/configure_sigs.sh puts one in. This prevents, for example, installing SmokePing using a version of Perl built with perl-cross. Here's a fix:

--- cnf/configure_sigs.sh.orig	2017-02-08 05:33:12.000000000 -0700
+++ cnf/configure_sigs.sh	2017-02-08 05:33:31.000000000 -0700
@@ -29,7 +29,7 @@
 		num=`grep 'number ' try.out | sed -e 's/[^0-9]//g'`
 		if [ -n "$num" -a "$num" != 0 ]; then
 			msg "   got SIG$sig = $num" >&2
-			signals="$signals SIG$sig"
+			signals="$signals $sig"
 			siginit="$siginit, \"$sig\""
 			signums="$signums $num"
 			signumi="$signumi, $num"
@arsv
Copy link
Owner

arsv commented Feb 12, 2017

Applied, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants