blob: 9f58103d7861cf13a67bc53e62488a65616822f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff -r -u vdrrip-0.3.0/scripts/queuehandler.sh vdrrip-0.3.0.gentoo/scripts/queuehandler.sh
--- vdrrip-0.3.0/scripts/queuehandler.sh 2006-10-06 08:40:46.000000000 +0200
+++ vdrrip-0.3.0.gentoo/scripts/queuehandler.sh 2006-10-06 08:41:01.000000000 +0200
@@ -734,8 +734,8 @@
rm -f "$queuefile"
else
let lines=lines-1
- tail -n $lines "$queuefile" > /tmp/queuefile.tmp
- mv /tmp/queuefile.tmp $queuefile
+ cp -a "$queuefile" /tmp/queuefile.tmp
+ tail -n $lines /tmp/queuefile.tmp > "$queuefile"
fi
if [ "$error" ]
|