This file has been dead for a long time. Remove it.
[oota-llvm.git] / utils / getsrcs.sh
index d6a8ba2d886dd63937d40b6c681e11ff0e65a71b..2432edfa75f25d30578409d8f5a08f377d928029 100755 (executable)
 # 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