summaryrefslogtreecommitdiff
path: root/setup/build_common.sh
blob: 78d3acdd614330317787dfd51102aa6c4d297c12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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