summaryrefslogtreecommitdiff
path: root/tools/linuxdoc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/linuxdoc')
-rwxr-xr-xtools/linuxdoc9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/linuxdoc b/tools/linuxdoc
index 51110e79..58f5cbc4 100755
--- a/tools/linuxdoc
+++ b/tools/linuxdoc
@@ -25,8 +25,13 @@ use FindBin;
$prefix = "/usr";
$isoentities_prefix = "/usr";
$DataDir = "$FindBin::Bin/../doc/sbase";
-$AuxBinDir = "/usr/lib/linuxdoc-tools";
-
+if (-d "/usr/lib/linuxdoc-tools")
+{
+ $AuxBinDir = "/usr/lib/linuxdoc-tools";
+} else
+{
+ $AuxBinDir = "/usr/bin";
+}
use lib "$FindBin::Bin/linuxdoc-tools";
# ---------------------------------------------------------------------