mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Simplify this a little bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29695 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6ae928fc69
commit
920baeee80
@ -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