Skip to content
Snippets Groups Projects
Commit 69d0c7ef authored by Daniel Maier's avatar Daniel Maier
Browse files

perforate.sh: propagate results

parent e8abade2
No related branches found
No related tags found
No related merge requests found
...@@ -114,15 +114,21 @@ if [ "$cmd_perforate" = "yes" ]; then ...@@ -114,15 +114,21 @@ if [ "$cmd_perforate" = "yes" ]; then
done done
cat "$perfin" > "$perforated" cat "$perfin" > "$perforated"
rm "$perfin" "$perfout" rm "$perfin" "$perfout"
else
# no perforation, just copy to perforated
cat "$scop" > "$perforated"
fi fi
if [ "$cmd_generate" = "yes" ]; then if [ "$cmd_generate" = "yes" ] || [ "$cmd_pluto" = "yes" ]; then
generate "$perforated" "$pluto_input" generate "$perforated" "$pluto_input"
fi fi
if [ "$cmd_pluto" = "yes" ]; then if [ "$cmd_pluto" = "yes" ]; then
printf "running pluto on %s output %s\n" "$pluto_input" "$output_src" printf "running pluto on %s output %s\n" "$pluto_input" "$output_src"
run_pluto "$pluto_input" "$output_src" run_pluto "$pluto_input" "$output_src"
elif [ "$cmd_generate" = "yes" ]; then
# no pluto, just copy to output_src
cat "$pluto_input" > "$output_src"
fi fi
printf "input is \"%s\" output is \"%s\"\n" "$input_src" "$output_src" printf "input is \"%s\" output is \"%s\"\n" "$input_src" "$output_src"
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