From 682e37133e4e2a4a0b7cc6ad89dfb5ac11a3bd95 Mon Sep 17 00:00:00 2001 From: Laurence Withers Date: Mon, 5 Feb 2007 14:58:38 +0000 Subject: [PATCH] Fix installation of symlinks --- skel/make.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skel/make.sh b/skel/make.sh index 69c8b25..a811db8 100755 --- a/skel/make.sh +++ b/skel/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 }