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
This commit is contained in:
parent
05a6c98d24
commit
f2b5c29234
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue