Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
Pocketsphinx Configs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
CLF
Robocup
Pocketsphinx Configs
Commits
c8cd010f
Commit
c8cd010f
authored
10 years ago
by
Leon Ziegler
Browse files
Options
Downloads
Patches
Plain Diff
fixed install scripts
parent
be9e9253
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ps-config/install_pocketsphinx_conf.sh
+12
-5
12 additions, 5 deletions
ps-config/install_pocketsphinx_conf.sh
ps-grammar/install_pocketsphinx.sh
+11
-5
11 additions, 5 deletions
ps-grammar/install_pocketsphinx.sh
with
23 additions
and
10 deletions
ps-config/install_pocketsphinx_conf.sh
+
12
−
5
View file @
c8cd010f
#!/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
...
...
This diff is collapsed.
Click to expand it.
ps-grammar/install_pocketsphinx.sh
+
11
−
5
View file @
c8cd010f
#!/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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment