llvm.org GIT mirror llvm / ad24fed
In test-release.sh, only run `uname -s` once. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258439 91177308-0d34-0410-b5e6-96231b3b80d8 Dimitry Andric 4 years ago
1 changed file(s) with 4 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
1111 #
1212 #===------------------------------------------------------------------------===#
1313
14 if [ `uname -s` = "FreeBSD" ]; then
14 System=`uname -s`
15 if [ "$System" = "FreeBSD" ]; then
1516 MAKE=gmake
1617 else
1718 MAKE=make
243244 fi
244245 }
245246
246 if [ `uname -s` != "Darwin" ]; then
247 if [ "$System" != "Darwin" ]; then
247248 check_program_exists 'chrpath'
248249 check_program_exists 'file'
249250 check_program_exists 'objdump'
405406 # Clean RPATH. Libtool adds the build directory to the search path, which is
406407 # not necessary --- and even harmful --- for the binary packages we release.
407408 function clean_RPATH() {
408 if [ `uname -s` = "Darwin" ]; then
409 if [ "$System" = "Darwin" ]; then
409410 return
410411 fi
411412 local InstallPath="$1"