We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0f90ba commit 5657282Copy full SHA for 5657282
util/update-design.perl6.org.sh
@@ -45,7 +45,9 @@ grep -vE '^(#.*|\s*)$' pod6-files | while read LINE
45
do
46
INPUT=$(echo $LINE | cut -d ' ' -f 1)
47
OUTPUT=$(echo $LINE | cut -d ' ' -f 2)
48
- perl6-m --doc=HTML "$INPUT" > "$DEST_DIR/$OUTPUT"
+ TEMPFILE=$(tempfile)
49
+ perl6-m --doc=HTML "$INPUT" > "$TEMPFILE" && mv "$TEMPFILE" "$DEST_DIR/$OUTPUT" \
50
+ || rm -f "$TEMPFILE"
51
done
52
53
if [ -z "$NOSSH" ]
0 commit comments