diff --git a/build/getsounds.sh.in b/build/getsounds.sh.in index 09105fd280..c4a434ad28 100755 --- a/build/getsounds.sh.in +++ b/build/getsounds.sh.in @@ -23,10 +23,15 @@ pwd echo "# $0 $1 $2" if [ ! -f $tarfile ] ; then - $DOWNLOAD_CMD $base$tarfile - if [ ! -f $tarfile ] ; then - echo cannot find $tarfile - exit 1 + if [ -f $FS_SOUNDS_DIR/$tarfile ]; then + test ! cp -l $FS_SOUNDS_DIR/$tarfile . \ + || cp $FS_SOUNDS_DIR/$tarfile . + else + $DOWNLOAD_CMD $base$tarfile + if [ ! -f $tarfile ] ; then + echo cannot find $tarfile + exit 1 + fi fi fi