mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Simplify this a little bit.
llvm-svn: 29695
This commit is contained in:
parent
9d1b18e36e
commit
452be375b7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user