Debian Codegraph @

dist/nsb-platform

raw
1 #!/bin/sh
2 #
3 # $Id$
4 # Author: Robert Story <[email protected]>
5 #
6 ########################################################################
7 ########################################################################
8
9 #
10 # find nsb-platform based on the path to this script
11 #
12 EXE_PATH=`dirname $0`
13 if [ -f $EXE_PATH/nsb-functions ];then
14 . $EXE_PATH/nsb-functions
15 elif [ -f $HOME/bin/nsb-functions ]; then
16 . $HOME/bin/nsb-functions
17 elif [ -f nsb-functions ];then
18 . nsb-functions
19 else
20 echo "Cannot find nsb-functions in $EXE_PATH, $HOME/bin or $PWD"
21 exit 1
22 fi
23
24 ########################################################################
25 ########################################################################
26
27 nsb_sysname