summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJonas Häggqvist <rasher@rasher.dk>2007-08-15 12:29:49 +0000
committerJonas Häggqvist <rasher@rasher.dk>2007-08-15 12:29:49 +0000
commitf2b5c292341768aa6ff954e4b0a817e877c66a12 (patch)
tree74d5f935e100c6cd4ffeb0da83cfe538af5de8d6 /tools
parent05a6c98d243af03a8a39d27f294104feade378c1 (diff)
downloadrockbox-f2b5c292341768aa6ff954e4b0a817e877c66a12.tar.gz
rockbox-f2b5c292341768aa6ff954e4b0a817e877c66a12.tar.bz2
rockbox-f2b5c292341768aa6ff954e4b0a817e877c66a12.zip
Copy files rather than linking them. This should make using the POOL feature work on Windows/Cygwin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14351 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/genvoice.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/genvoice.sh b/tools/genvoice.sh
index ec457fb37c..4e58801205 100755
--- a/tools/genvoice.sh
+++ b/tools/genvoice.sh
@@ -90,7 +90,7 @@ generateclips() {
echo "Re-using $ID from pool (${POOL_FILE})"
if [ ! -e "$TEMPDIR/$ID".mp3 ]; then
# only do this if not present
- ln -sf "$POOL_FILE" "$TEMPDIR/$ID".mp3
+ cp -f "$POOL_FILE" "$TEMPDIR/$ID".mp3
fi
fi
fi
@@ -102,7 +102,7 @@ generateclips() {
if [ -n "$POOL" ]; then
# create it in the pool, symlink it back
encode "$TEMPDIR/$ID".wav "$POOL_FILE"
- ln -sf "$POOL_FILE" "$TEMPDIR/$ID".mp3
+ cp -f "$POOL_FILE" "$TEMPDIR/$ID".mp3
else
encode "$TEMPDIR/$ID".wav "$TEMPDIR/$ID".mp3
fi