[llvm-commits] [llvm-top] r40430 - /llvm-top/trunk/library.sh
Reid Spencer
rspencer at reidspencer.com
Mon Jul 23 01:23:19 PDT 2007
Author: reid
Date: Mon Jul 23 03:23:19 2007
New Revision: 40430
URL: http://llvm.org/viewvc/llvm-project?rev=40430&view=rev
Log:
One more try at getting arithmetic expansion to work with Bourne shell.
Modified:
llvm-top/trunk/library.sh
Modified: llvm-top/trunk/library.sh
URL: http://llvm.org/viewvc/llvm-project/llvm-top/trunk/library.sh?rev=40430&r1=40429&r2=40430&view=diff
==============================================================================
--- llvm-top/trunk/library.sh (original)
+++ llvm-top/trunk/library.sh Mon Jul 23 03:23:19 2007
@@ -173,7 +173,7 @@
if test "$RECURSION_DEPTH" -gt 10 ; then
die 2 "Recursing too deeply on module dependencies"
fi
- let RECURSION_DEPTH="$((RECURSION_DEPTH + 1))"
+ RECURSION_DEPTH=$(($RECURSION_DEPTH + 1))
local module="$1"
msg 2 "Getting dependencies for module '$module'"
get_module_info $module DepModule
More information about the llvm-commits
mailing list