From b57061f407cad83b29d1af5ac09251a54795b673 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sat, 17 Mar 2012 11:40:34 +0000 Subject: ireuse the same variable for the cleaning script of draklive --- modules/draklive/files/clean-live.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/draklive/files/clean-live.sh b/modules/draklive/files/clean-live.sh index d095a4c5..cceb6a4a 100755 --- a/modules/draklive/files/clean-live.sh +++ b/modules/draklive/files/clean-live.sh @@ -12,4 +12,4 @@ find $DRAKLIVE_ROOT/{chroot/*,build/*/*} -maxdepth 0 -not -name dist -mtime +$(e MAX_DIST_AGE=20 find $DRAKLIVE_ROOT/build/*/dist -maxdepth 0 -mtime +$(expr $MAX_DIST_AGE - 1) -exec $RM {} \; -find /var/lib/draklive/build -maxdepth 1 -links 2 -exec rmdir {} \; +find $DRAKLIVE_ROOT/build -maxdepth 1 -links 2 -exec rmdir {} \; -- cgit v1.2.1