File: build_common.sh

package info (click to toggle)
oss4 4.2-build2020-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 16,408 kB
  • sloc: ansic: 237,053; cpp: 18,981; sh: 4,909; pascal: 3,863; asm: 1,189; makefile: 646; php: 53; xml: 46
file content (26 lines) | stat: -rw-r--r-- 404 bytes parent folder | download | duplicates (4)
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