# HG changeset patch # User Rob Landley # Date 1373520546 18000 # Node ID ee6db9e5cce3bbea9c81240d96c3e6cef0755c65 # Parent 5e76b1ac1e6c982e39e9b7d6a364d244632b58b5 No point using $[ ] when it's just a synonym for posix $(( )) diff -r 5e76b1ac1e6c -r ee6db9e5cce3 sources/toys/dev-environment.sh --- 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 \