projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6ae928f
)
Simplify this a little bit.
author
Reid Spencer
<rspencer@reidspencer.com>
Tue, 15 Aug 2006 03:50:10 +0000
(
03:50
+0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Tue, 15 Aug 2006 03:50:10 +0000
(
03:50
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29695
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/getsrcs.sh
patch
|
blob
|
history
diff --git
a/utils/getsrcs.sh
b/utils/getsrcs.sh
index d6a8ba2d886dd63937d40b6c681e11ff0e65a71b..2432edfa75f25d30578409d8f5a08f377d928029 100755
(executable)
--- a/
utils/getsrcs.sh
+++ b/
utils/getsrcs.sh
@@
-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