Fix installation of symlinks

This commit is contained in:
Laurence Withers 2007-02-05 14:58:38 +00:00
parent de612c0fee
commit 682e37133e
1 changed files with 2 additions and 2 deletions

View File

@ -230,9 +230,9 @@ install_header() {
# second the symlink's source filename, and the third is the directory
# in which to create the symlink.
install_symlink() {
echo " Installing symlink: '$3/$2' -> '${INSTALL_PREFIX}$1'"
echo " Installing symlink: '${INSTALL_PREFIX}$3/$1' -> '$2'"
( do_cmd cd $3; ln -sf $2 ${INSTALL_PREFIX}$1 ) || return 1
( do_cmd ln -sf $2 ${INSTALL_PREFIX}$3/$1 ) || return 1
return 0
}