From: Rudolf Polzer Date: Mon, 21 Jun 2010 14:25:52 +0000 (+0200) Subject: remove a sleep 10 debug command X-Git-Tag: xonotic-v0.1.0preview~404 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=555bd2f563ae04a9841d86aa4b85837baf0d9b97 remove a sleep 10 debug command --- diff --git a/misc/tools/cached-converter.sh b/misc/tools/cached-converter.sh index 8b659ac8..f09f8e75 100755 --- a/misc/tools/cached-converter.sh +++ b/misc/tools/cached-converter.sh @@ -37,13 +37,9 @@ cached() tempfile1="${name1%/*}/new-${name1##*/}" [ -z "$outfile2" ] || tempfile2="${name2%/*}/new-${name2##*/}" if [ -f "$name1" ]; then - echo "$name1 already there, caching" - sleep 10 ln "$name1" "$outfile1" 2>/dev/null || cp "$name1" "$outfile1" [ -z "$outfile2" ] || ln "$name2" "$outfile2" 2>/dev/null || cp "$name2" "$outfile2" elif "$method" "$infile1" "$infile2" "$tempfile1" "$tempfile2" "$@"; then - echo "$name1 not there, making" - sleep 10 mv "$tempfile1" "$name1" [ -z "$outfile2" ] || mv "$tempfile2" "$name2" ln "$name1" "$outfile1" 2>/dev/null || cp "$name1" "$outfile1"