summaryrefslogtreecommitdiffstats
path: root/Modules/makesetup
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/makesetup')
-rwxr-xr-xModules/makesetup2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/makesetup b/Modules/makesetup
index dcb19b0..b22933d 100755
--- a/Modules/makesetup
+++ b/Modules/makesetup
@@ -65,7 +65,7 @@ done
# Set default libdir and config if not set by command line
# (Not all systems have dirname)
-case $srcdir in
+case $libdir in
'') case $0 in
*/*) libdir=`echo $0 | sed 's,/[^/]*$,,'`;;
*) libdir=.;;