From f89c75f3944e3d34a7f6de8efe7924ba0618671c Mon Sep 17 00:00:00 2001 From: Christian Engwer <christi@dune-project.org> Date: Tue, 18 Jul 2006 10:51:16 +0000 Subject: [PATCH] use readlink to find basedir of dunecontrol [[Imported from SVN: r4607]] --- bin/dunecontrol | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/dunecontrol b/bin/dunecontrol index 835d1da04..2b16dcb90 100755 --- a/bin/dunecontrol +++ b/bin/dunecontrol @@ -13,7 +13,8 @@ fi # Read the modules find part -. $(cd $(dirname $0); pwd)/dunemodules.inc +INCDIR=$(dirname $(readlink --canonicalize $0)) +. $INCDIR/dunemodules.inc ### -- GitLab