Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for /bin/sh script #325

Open
edscott opened this issue Oct 17, 2020 · 0 comments
Open

fix for /bin/sh script #325

edscott opened this issue Oct 17, 2020 · 0 comments

Comments

@edscott
Copy link

edscott commented Oct 17, 2020

error:

[100%] Creating packed binary of benchmarks/input/stonefile_benchmark
gmake[2]: ../benchmarks/input/create_hex_data_file.sh: No such file or directory
gmake[2]: *** [CMakeFiles/stonefile.dir/build.make:82: benchmarks/input/stonefile_benchmark.txt.gz.hex] Error 127
gmake[1]: *** [CMakeFiles/Makefile2:2114: CMakeFiles/stonefile.dir/all] Error 2
gmake: *** [Makefile:161: all] Error 2
--- Failed to build opm-upscaling ---

fix:
create_hex_data_file.sh.patch.txt
In Linux /bin/sh is the same thing as /bin/bash. But in FreeBSD bash is not necessarily installed. But /bin/sh works just fine for such a simple script.


--- benchmarks/input/create_hex_data_file.sh.orig	2020-10-17 14:09:04.707214000 -0500
+++ benchmarks/input/create_hex_data_file.sh	2020-10-17 14:08:53.035480000 -0500
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # This script takes an input file and dump it in hexadecimal (1 byte) format
 # The second input is the name of the output file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant