mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
In test-release.sh, only run uname -s
once. NFC.
llvm-svn: 258439
This commit is contained in:
parent
373875b04a
commit
9df4ee3b2a
@ -12,7 +12,8 @@
|
||||
#
|
||||
#===------------------------------------------------------------------------===#
|
||||
|
||||
if [ `uname -s` = "FreeBSD" ]; then
|
||||
System=`uname -s`
|
||||
if [ "$System" = "FreeBSD" ]; then
|
||||
MAKE=gmake
|
||||
else
|
||||
MAKE=make
|
||||
@ -244,7 +245,7 @@ function check_program_exists() {
|
||||
fi
|
||||
}
|
||||
|
||||
if [ `uname -s` != "Darwin" ]; then
|
||||
if [ "$System" != "Darwin" ]; then
|
||||
check_program_exists 'chrpath'
|
||||
check_program_exists 'file'
|
||||
check_program_exists 'objdump'
|
||||
@ -406,7 +407,7 @@ function test_llvmCore() {
|
||||
# Clean RPATH. Libtool adds the build directory to the search path, which is
|
||||
# not necessary --- and even harmful --- for the binary packages we release.
|
||||
function clean_RPATH() {
|
||||
if [ `uname -s` = "Darwin" ]; then
|
||||
if [ "$System" = "Darwin" ]; then
|
||||
return
|
||||
fi
|
||||
local InstallPath="$1"
|
||||
|
Loading…
Reference in New Issue
Block a user