Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit d058967

Browse files
committed
fix up
1 parent 305a9b1 commit d058967

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

env_vars.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# Environment variables for build
33
OPENBLAS_VERSION="v0.3.7"
44
MACOSX_DEPLOYMENT_TARGET=10.9
55
CFLAGS="-std=c99 -fno-strict-aliasing"
66
# Macos's linker doesn't support stripping symbols
7-
if [ [$(uname) != "Darwin"] ]; then
7+
if [ "$(uname)" != "Darwin" ]; then
88
LDFLAGS="-Wl,--strip-debug"
99
# make sure that LDFLAGS is exposed to child processes,
1010
# since current version of manybuild only export CFLAGS, CPPFLAGS and FFLAGS

env_vars_32.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# Environment variables for 32-bit build.
33
# The important difference from the 64-bit build is `-msse2` to
44
# compile sse loops for ufuncs.
@@ -9,7 +9,7 @@ MACOSX_DEPLOYMENT_TARGET=10.9
99
# CFLAGS="-msse2 -std=c99 -fno-strict-aliasing"
1010
CFLAGS="-std=c99 -fno-strict-aliasing"
1111
# Macos's linker doesn't support stripping symbols
12-
if [ [$(uname) != "Darwin"] ]; then
12+
if [ "$(uname)" != "Darwin" ]; then
1313
LDFLAGS="-Wl,--strip-debug"
1414
# make sure that LDFLAGS is exposed to child processes,
1515
# since current version of manybuild only export CFLAGS, CPPFLAGS and FFLAGS

0 commit comments

Comments
 (0)