diff options
Diffstat (limited to 'setup/build_common.sh')
-rw-r--r-- | setup/build_common.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/setup/build_common.sh b/setup/build_common.sh new file mode 100644 index 0000000..78d3acd --- /dev/null +++ b/setup/build_common.sh @@ -0,0 +1,26 @@ +#!/bin/sh + +SRCDIR=$1 +OSSLIBDIR=$2 + +if test ! -d $SRCDIR +then + echo Bad SRCDIR parameter + exit 1 +fi + +if test ! -d prototype +then + echo Bad prototype directory + exit 1 +fi + +# Copy common files to the prototype tree +cp -pRf $SRCDIR/oss/* prototype/$OSSLIBDIR/ +rm -f prototype/$OSSLIBDIR/oss/.nomake + +#cp $SRCDIR/lib/libossmix/libossmix.h prototype/usr/lib/oss/include + +chmod 700 prototype/usr/sbin/* + +exit 0 |