[llvm-commits] CVS: llvm/utils/getsrcs.sh
Reid Spencer
reid at x10sys.com
Mon Aug 14 20:50:24 PDT 2006
Changes in directory llvm/utils:
getsrcs.sh updated: 1.22 -> 1.23
---
Log message:
Simplify this a little bit.
---
Diffs of the changes: (+5 -7)
getsrcs.sh | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
Index: llvm/utils/getsrcs.sh
diff -u llvm/utils/getsrcs.sh:1.22 llvm/utils/getsrcs.sh:1.23
--- llvm/utils/getsrcs.sh:1.22 Mon Aug 14 13:49:05 2006
+++ llvm/utils/getsrcs.sh Mon Aug 14 22:50:10 2006
@@ -18,13 +18,11 @@
# details.
##===----------------------------------------------------------------------===##
-if test $# -gt 1 ; then
- if test "$1" = "-topdir" ; then
- TOPDIR="$2"
- shift; shift;
- else
- TOPDIR=`llvm-config --src-root`
- fi
+if test "$1" = "-topdir" ; then
+ TOPDIR="$2"
+ shift; shift;
+else
+ TOPDIR=`llvm-config --src-root`
fi
if test -d "$TOPDIR" ; then
More information about the llvm-commits
mailing list