summaryrefslogtreecommitdiff
path: root/wm/enlightenment/patches/patch-af
blob: ec99de903bedb7aaf6bb4a163b48a003bf4524f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-af,v 1.1 2003/05/25 09:50:54 salo Exp $

--- scripts/e_cache_query.orig	Sat May 24 08:38:52 2003
+++ scripts/e_cache_query	Sat May 24 08:40:11 2003
@@ -37,7 +37,7 @@
   VAL=`du -s $ECACHEDIR/cached/pager $ECACHEDIR/cached/bgsel $ECACHEDIR/cached/cfg | awk '{printf("%s ", $1);}'`
   TOT=0
   for I in $VAL; do
-    TOT=$[ $TOT + $I ];
+    TOT=$(( $TOT + $I ));
   done
   eesh -e "dialog_ok Your caches are using $TOT Kb of disk space."
   exit