changeset 1614:ee6db9e5cce3

No point using $[ ] when it's just a synonym for posix $(( ))
author Rob Landley <rob@landley.net>
date Thu, 11 Jul 2013 00:29:06 -0500
parents 5e76b1ac1e6c
children dad40f8a408d
files sources/toys/dev-environment.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sources/toys/dev-environment.sh	Thu Jul 11 00:17:36 2013 -0500
+++ b/sources/toys/dev-environment.sh	Thu Jul 11 00:29:06 2013 -0500
@@ -98,7 +98,7 @@
     #   - speed of preprocessor (tcc -E would be faster than gcc -E)
     #   - speed of virtual network (switch to virtual gigabit cards).
     #
-    # CPUS=$[$(echo /sys/devices/system/cpu/cpu[0-9]* | wc -w)*2]
+    # CPUS=$(($(echo /sys/devices/system/cpu/cpu[0-9]* | wc -w)*2))
     CPUS=3
   fi
   PATH="$(pwd)/distcc_links" "$(which distccd)" --no-detach --daemon \