diff --git a/make.sh b/make.sh index f0a95b4..3f47ba5 100755 --- a/make.sh +++ b/make.sh @@ -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 }