Skip to content
Snippets Groups Projects
Commit c8cd010f authored by Leon Ziegler's avatar Leon Ziegler
Browse files

fixed install scripts

parent be9e9253
No related branches found
No related tags found
No related merge requests found
#!/bin/sh #!/bin/sh
if [ $1 ]
then installdir=$1 set -e
else installdir="/vol/robocup/2013/share/SpeechRec/"
BASEDIR=$(dirname $(readlink -f $0))
cd ${BASEDIR}
if [ ! -n "$prefix" ]; then
echo "Environment variable \"\$prefix\" must be set!"
exit 1
fi fi
mkdir -p $installdir/psConfig
mkdir -p ${prefix}/share/SpeechRec/psConfig
for i in `ls` for i in `ls`
do do
if [ -d $i ] if [ -d $i ]
then cp -r $i $installdir/psConfig then cp -r $i ${prefix}/share/SpeechRec/psConfig
fi fi
done done
......
#!/bin/sh #!/bin/sh
if [ $1 ] set -e
then installdir=$1
else installdir="/vol/robocup/2013/share/SpeechRec/" BASEDIR=$(dirname $(readlink -f $0))
cd ${BASEDIR}
if [ ! -n "$prefix" ]; then
echo "Environment variable \"\$prefix\" must be set!"
exit 1
fi fi
mkdir -p $installdir/psGrammar
mkdir -p ${prefix}/share/SpeechRec/psConfig
for i in `ls` for i in `ls`
do do
if [ -d $i ] if [ -d $i ]
then cp -r $i $installdir/psGrammar then cp -r $i ${prefix}/share/SpeechRec/psConfig
fi fi
done done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment