From 81ee8fa29617d4b30c46883d0350f0a19f382d6d Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Tue, 28 Nov 2006 08:46:31 +0000 Subject: [PATCH] Check for installed perl by absolute path of expected location git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15154 57a11ea4-9604-0410-9ed3-97b8803252fd --- packaging/win32/install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packaging/win32/install.sh b/packaging/win32/install.sh index 1cf7af0524..cb07f4fe88 100644 --- a/packaging/win32/install.sh +++ b/packaging/win32/install.sh @@ -161,7 +161,8 @@ function inst_wget() { function inst_dtk() { setup MSYS DTK - if quiet perl --help + _MSYS_UDIR=`unix_path $MSYS_DIR` + if quiet ${_MSYS_UDIR}/perl --help then echo "msys dtk already installed. skipping." else @@ -178,7 +179,7 @@ function inst_dtk() { mv $file $_dst_file done fi - quiet perl --help || die "msys dtk not installed correctly" + quiet ${_MSYS_UDIR}/perl --help || die "msys dtk not installed correctly" } function inst_mingw() {