From 1a5d59cc6cefbabeaeba99e5345ce26ea3d47821 Mon Sep 17 00:00:00 2001 From: Joseph Date: Thu, 1 May 2014 14:14:24 +0100 Subject: [PATCH 1/3] Attempting to fix an issue with the install script to make it portable on mac os by replacing the readlink with a dirname command to obtain the directory where the scripts are located prior to the install process --- install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install b/install index 4f0d4d5..4b480f1 100755 --- a/install +++ b/install @@ -44,7 +44,7 @@ else fi dir=$(dirname "${0}") -basedir=$(readlink -f "${dir}") +basedir=$(dirname "${dir}") ${ECHOX} "I assume that CQ UNIX toolkit are in: '${basedir}'\n" if [ ! -d "${INSTALL_DIR}" ] then From a6b1c410b9e9de570fc05ce33d14cd1d7eec36d1 Mon Sep 17 00:00:00 2001 From: Joseph Date: Thu, 1 May 2014 14:25:29 +0100 Subject: [PATCH 2/3] Attempting to fix an issue with the install script to make it portable on mac os by replacing the readlink with a dirname command to obtain the directory where the scripts are located prior to the install process --- install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install b/install index 4b480f1..131eb80 100755 --- a/install +++ b/install @@ -44,7 +44,7 @@ else fi dir=$(dirname "${0}") -basedir=$(dirname "${dir}") +basedir=$dir ${ECHOX} "I assume that CQ UNIX toolkit are in: '${basedir}'\n" if [ ! -d "${INSTALL_DIR}" ] then From 5c25c94d3282ac0daf9dd70ce214cdfc0b0bafa1 Mon Sep 17 00:00:00 2001 From: Joseph Date: Thu, 1 May 2014 14:45:29 +0100 Subject: [PATCH 3/3] Replacing the readlink with a dirname to the passed command line options --- install | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install b/install index 131eb80..119643c 100755 --- a/install +++ b/install @@ -43,8 +43,7 @@ else fi fi -dir=$(dirname "${0}") -basedir=$dir +basedir=$(dirname "${0}") ${ECHOX} "I assume that CQ UNIX toolkit are in: '${basedir}'\n" if [ ! -d "${INSTALL_DIR}" ] then