From f2b5c292341768aa6ff954e4b0a817e877c66a12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20H=C3=A4ggqvist?= Date: Wed, 15 Aug 2007 12:29:49 +0000 Subject: [PATCH] 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 --- tools/genvoice.sh | 4 ++-- 1 file 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