Skip to content

Commit

Permalink
Fix script to use = instead of == for compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
wanseob committed Jan 31, 2019
1 parent 8a2c2d7 commit 6522d5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install_ocl_plugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mkdir -p "$plugins_dir";
cd ocl_cuckatoo
cargo build --release
cd ..
if [ "$(uname)" == "Darwin" ]; then
if [ "$(uname)" = "Darwin" ]; then
cp target/release/libocl_cuckatoo.dylib $plugins_dir/ocl_cuckatoo.cuckooplugin
else
cp target/release/libocl_cuckatoo.so $plugins_dir/ocl_cuckatoo.cuckooplugin
Expand All @@ -18,7 +18,7 @@ fi
cd ocl_cuckaroo
cargo build --release
cd ..
if [ "$(uname)" == "Darwin" ]; then
if [ "$(uname)" = "Darwin" ]; then
cp target/release/libocl_cuckaroo.dylib $plugins_dir/ocl_cuckaroo.cuckooplugin
else
cp target/release/libocl_cuckaroo.so $plugins_dir/ocl_cuckaroo.cuckooplugin
Expand Down

1 comment on commit 6522d5e

@Ebola333
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what i will need to use for this cmd?

Please sign in to comment.