Skip to content
Snippets Groups Projects
Commit 484a05e8 authored by Alexander Theißen's avatar Alexander Theißen
Browse files

Remove unnecessary escape from include.sh

The older bash version of macOS does not understand this escape
and actually creates directories with "\" in their name. After this
change it actually works with both versions.
parent e102c234
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ do ...@@ -11,7 +11,7 @@ do
name="$(basename "$dir")" name="$(basename "$dir")"
if [ "${name:0:1}" != "_" ] if [ "${name:0:1}" != "_" ]
then then
header="$include/${name/_/\/}.h" header="$include/${name/_//}.h"
pushd "$dir" pushd "$dir"
cargo run --release --manifest-path "$cbindgen/Cargo.toml" -- \ cargo run --release --manifest-path "$cbindgen/Cargo.toml" -- \
-c cbindgen.toml -o "$header" mod.rs -c cbindgen.toml -o "$header" mod.rs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment