diff options
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | generate_sources.sh | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -44,4 +44,4 @@ $(foreach i,$(COMPILED_SCAD_FILES),$(eval $(i): $(filter $(dir $(i))%,$(LIBRARY_ # Rule for automaticlaly generated OpenSCAD files. $(GENERATED_FILES): generate_sources.sh - ./generate_sources.sh $@ > $@ + ./generate_sources.sh $@ diff --git a/generate_sources.sh b/generate_sources.sh index 2d33554..67fa258 100755 --- a/generate_sources.sh +++ b/generate_sources.sh @@ -13,7 +13,7 @@ function generate_file() { if ! [ "$current_file_name" ]; then echo "$file_name" elif [ "$current_file_name" == "$file_name" ]; then - "${generate_command[@]}" + "${generate_command[@]}" > "$file_name" fi } |