Fix installation of symlinks
This commit is contained in:
parent
de612c0fee
commit
682e37133e
|
@ -230,9 +230,9 @@ install_header() {
|
||||||
# second the symlink's source filename, and the third is the directory
|
# second the symlink's source filename, and the third is the directory
|
||||||
# in which to create the symlink.
|
# in which to create the symlink.
|
||||||
install_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
|
return 0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue