Skip to content

Commit

Permalink
Make (de)activate scripts POSIX complaint
Browse files Browse the repository at this point in the history
  • Loading branch information
nehaljwani committed Jan 9, 2019
1 parent e4a9e8a commit 0522713
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions recipe/activate.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

if [ "$(uname)" == "Darwin" ]
if [ "$(uname)" = "Darwin" ]
then
# for Mac OSX
export AR=ar
Expand Down Expand Up @@ -31,7 +31,7 @@ then
export LDFLAGS="${LDFLAGS} -lc++"
export LDFLAGS="${LDFLAGS} -Wl,-rpath,$PREFIX/lib"
export LINKFLAGS="${LDFLAGS}"
elif [ "$(uname)" == "Linux" ]
elif [ "$(uname)" = "Linux" ]
then
# for Linux
export AR=ar
Expand Down
2 changes: 1 addition & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package:
version: 2.4.0

build:
number: 0
number: 1

outputs:
- name: toolchain
Expand Down

0 comments on commit 0522713

Please sign in to comment.