mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
This script takes arguments so remove the check for number of arguments,
just check the first arg to see if its -topdir. llvm-svn: 29694
This commit is contained in:
parent
5376d1a901
commit
9d1b18e36e
@ -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