X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=utils%2Fgetsrcs.sh;h=c8bff8cf833d8b8dcf29af6360b535674d724aea;hb=ee826c8d9cab9e735b9b38acc5aab620fbc50afe;hp=d6a8ba2d886dd63937d40b6c681e11ff0e65a71b;hpb=ca7592a1ba86854a1f9ba2b3e442427bed20d5bc;p=oota-llvm.git diff --git a/utils/getsrcs.sh b/utils/getsrcs.sh index d6a8ba2d886..c8bff8cf833 100755 --- a/utils/getsrcs.sh +++ b/utils/getsrcs.sh @@ -3,8 +3,8 @@ # # The LLVM Compiler Infrastructure # -# This file was developed by Chris Lattner and Reid Spencer and is distributed -# under the # University of Illinois Open Source License. See LICENSE.TXT for +# This file is distributed under the University of Illinois Open Source +# License. See LICENSE.TXT for details. # details. # ##===----------------------------------------------------------------------===## @@ -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