summaryrefslogtreecommitdiffstats
path: root/Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.PL')
-rwxr-xr-xMakefile.PL3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 5ed20f9c..b18cf035 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -29,8 +29,7 @@ package MY;
# Don't install gurpmi.pm if we don't install gui
sub libscan {
my ($self, $path) = @_;
- if (!$with_gui && $path =~ /gurpmi/) { return '' }
- return $path;
+ return !$with_gui && $path =~ /gurpmi/ ? '' : $path;
}
# Make proper sbin/man5/man8 dirs in blib