[Lunar-commits] CVS: theedge/bin lvu,1.56,1.57
Auke Kok
sofar at lunar-linux.org
Fri Dec 10 10:46:35 UTC 2004
Update of /var/cvs/lunar/theedge/bin
In directory espresso.foo-projects.org:/home/sofar/active/theedge/bin
Modified Files:
lvu
Log Message:
define TMPDIR and use it globally. Its position is overwriteable by using lunar set TMPDIR
Index: lvu
===================================================================
RCS file: /var/cvs/lunar/theedge/bin/lvu,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- lvu 24 Nov 2004 13:09:30 -0000 1.56
+++ lvu 10 Dec 2004 10:46:33 -0000 1.57
@@ -371,8 +371,8 @@
follow_active_lin() {
if [ -f /var/lock/installing.$1 -a -d /proc/$(cat /var/lock/installing.$1) ] ; then
- if [ -f /tmp/lunar.lin.$(cat /var/lock/installing.$1).$1.compile-log.* ] ; then
- tail -f /tmp/lunar.lin.$(cat /var/lock/installing.$1).$1.compile-log.* --follow=name --pid=$(cat /var/lock/installing.$1) 2>/dev/null
+ if [ -f $TMPDIR/lunar.lin.$(cat /var/lock/installing.$1).$1.compile-log.* ] ; then
+ tail -f $TMPDIR/lunar.lin.$(cat /var/lock/installing.$1).$1.compile-log.* --follow=name --pid=$(cat /var/lock/installing.$1) 2>/dev/null
fi
fi
}
More information about the Lunar-commits
mailing list