diff options
author | Thomas Klausner <wiz@NetBSD.org> | 2010-12-16 13:51:31 +0100 |
---|---|---|
committer | Thomas Klausner <wiz@NetBSD.org> | 2010-12-16 13:52:00 +0100 |
commit | 6836b5b350f890a2e5885fc82fa6f92fc2c73b15 (patch) | |
tree | 347ba29e39479c31bcbe7a9cba39c136b76df5db /desktop/scripts | |
parent | 702924b96e3839b1a807dbb9075035cda673c018 (diff) |
Handle NetBSD the same as OpenBSD for LD_LIBRARY_PATH.
Diffstat (limited to 'desktop/scripts')
-rw-r--r-- | desktop/scripts/soffice.sh | 2 | ||||
-rw-r--r-- | desktop/scripts/unopkg.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh index a3eb066d80c6..b501405f82a8 100644 --- a/desktop/scripts/soffice.sh +++ b/desktop/scripts/soffice.sh @@ -70,7 +70,7 @@ fi sd_binary=`basename "$0" | sed 's/libreoffice/soffice/g'`.bin case "`uname -s`" in -OpenBSD) # this is a temporary hack until we can live with the default search paths +NetBSD|OpenBSD) # this is a temporary hack until we can live with the default search paths sd_prog1="$sd_prog/../basis-link/program" sd_prog2="$sd_prog/../basis-link/ure-link/lib" LD_LIBRARY_PATH=$sd_prog1:$sd_prog2${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} diff --git a/desktop/scripts/unopkg.sh b/desktop/scripts/unopkg.sh index 36acb849e73b..52877c886a71 100644 --- a/desktop/scripts/unopkg.sh +++ b/desktop/scripts/unopkg.sh @@ -45,7 +45,7 @@ cd "$sd_cwd" # this is a temporary hack until we can live with the default search paths case "`uname -s`" in -OpenBSD) +NetBSD|OpenBSD) sd_prog1="$sd_prog/../basis-link/program" sd_prog2="$sd_prog/../basis-link/ure-link/lib" LD_LIBRARY_PATH=$sd_prog1:$sd_prog2${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} |