From ab3c63ff9b9d0b0dbbf1e69a50ef366cbfe64c94 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 26 Jul 2007 08:58:08 +0000 Subject: 23702: fix installing executable scripts 23703: getenv() should be zgetenv() --- Config/installfns.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Config/installfns.sh') diff --git a/Config/installfns.sh b/Config/installfns.sh index 68ffa4c6d..c28c8e7df 100755 --- a/Config/installfns.sh +++ b/Config/installfns.sh @@ -45,10 +45,9 @@ for file in $allfuncs; do esac fi test -d $instdir || /bin/sh $sdir_top/mkinstalldirs $instdir || exit 1 + $INSTALL_DATA $sdir_top/$file $instdir || exit 1 if test -x $sdir_top/$file; then - $INSTALL_PROGRAM $sdir_top/$file $instdir || exit 1 - else - $INSTALL_DATA $sdir_top/$file $instdir || exit 1 + chmod +x $instdir/`echo $file | sed -e 's%^.*/%%'` fi fi done -- cgit 1.4.1