diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2006-03-20 11:06:22 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-03-20 11:06:22 +0000 |
commit | 40df7069cb3f0bcac939eab2337511a5ac5ef510 (patch) | |
tree | 979d870a872f3b99f3e59c3ad8e8c75ab20f940f /Config | |
parent | b37a0f000058dc91fbc87e803ae91486c8396a9e (diff) | |
download | zsh-40df7069cb3f0bcac939eab2337511a5ac5ef510.tar.gz zsh-40df7069cb3f0bcac939eab2337511a5ac5ef510.tar.xz zsh-40df7069cb3f0bcac939eab2337511a5ac5ef510.zip |
22360, 22365: support version 2 of Yodl
Diffstat (limited to 'Config')
-rwxr-xr-x | Config/installfns.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Config/installfns.sh b/Config/installfns.sh index d680b4b28..68ffa4c6d 100755 --- a/Config/installfns.sh +++ b/Config/installfns.sh @@ -45,6 +45,10 @@ 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 + fi fi done |