diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-05-03 21:08:42 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-05-03 21:08:42 +0400 |
commit | 1058def8e7827e56ce4a70afb4aeacb5dc44148f (patch) | |
tree | 4495d23e7b54ab5700e3839081e797c1eafe0db9 /setup/build_common.sh | |
download | oss4-upstream.tar.gz |
Imported Upstream version 4.2-build2006upstream/4.2-build2006upstream
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 |