Switch to unified view
a/ohbuild.sh | b/ohbuild.sh | ||
---|---|---|---|
... |
... |
||
16 | { |
16 | { |
17 | fatal "Usage: ohbuild.sh <topdir>" |
17 | fatal "Usage: ohbuild.sh <topdir>" |
18 | } |
18 | } |
19 | test $# = 1 || usage |
19 | test $# = 1 || usage |
20 | topdir=$1 |
20 | topdir=$1 |
21 | |||
22 | test -d $topdir || mkdir $topdir || fatal "Can't create $topdir" |
||
21 | 23 | ||
22 | cd $topdir || exit 1 |
24 | cd $topdir || exit 1 |
23 | topdir=`pwd` |
25 | topdir=`pwd` |
24 | 26 | ||
25 | 27 |