summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorLEVAI Daniel <leva@ecentrum.hu>2013-04-23 20:47:50 -0400
committerNiels Horn <niels.horn@slackbuilds.org>2013-04-28 12:29:04 -0300
commitc9ea24b6e39efed1915644bbee57fe01ab592740 (patch)
tree3b569d86b202cf9d1e818316fed503178cdffac7 /network
parent5254b1826986d0aa546129986f07635fcbb02695 (diff)
downloadslackbuilds-c9ea24b6e39efed1915644bbee57fe01ab592740.tar.gz
network/ClusterSSH: Fix perl path.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/ClusterSSH/ClusterSSH.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/network/ClusterSSH/ClusterSSH.SlackBuild b/network/ClusterSSH/ClusterSSH.SlackBuild
index 245cd886b3..056e4872a6 100644
--- a/network/ClusterSSH/ClusterSSH.SlackBuild
+++ b/network/ClusterSSH/ClusterSSH.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=ClusterSSH
VERSION=${VERSION:-4.01_05}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCNAM="App-${PRGNAM}"
@@ -87,6 +87,10 @@ perl Build.PL \
--install_path bindoc=/usr/man/man1 \
--install_path libdoc=/usr/man/man3
+# Avoid being Perl version dependent
+sed -i -r -e "s,^(#!/usr/bin/perl).*$,\1," $PKG/usr/bin/*
+chmod 755 $PKG/usr/bin/*
+
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done