We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02c2752 commit f1d6720Copy full SHA for f1d6720
c
@@ -23,7 +23,7 @@ cleanup() {
23
rm -rf "$tmpdir"
24
25
# remove cache files until we are under $cachesize
26
- if [ `uname -s` == "SunOS" ] ; then ducmd="du -ks" ; else ducmd="du -kc" ; fi
+ if [ "$(uname -s)" == "SunOS" ] ; then ducmd="du -ks" ; else ducmd="du -kc" ; fi
27
while [[ "$($ducmd "$tmproot" | tail -1 | cut -f1)" -gt "$C_CACHE_SIZE" ]]; do
28
[[ -z "$(ls -A "$tmproot")" ]] && break
29
rm -rf "$(find "$tmproot" | tail -n1)"
0 commit comments