Skip to content

Commit

Permalink
Fix update source file script
Browse files Browse the repository at this point in the history
  • Loading branch information
gassmoeller committed Aug 8, 2018
1 parent 016765e commit 330566e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions doc/update_source_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ done

for script in `ls ${SCRIPT_FOLDER}/*.pl`; do
for file in $@ ; do
cat "$file.bak" | perl $script > "$file"
cat "$file" | perl $script > "$file.tmp"
mv "$file.tmp" "$file"
done
done

for source_file in "$@"; do
rm ${source_file}.tmp
done

0 comments on commit 330566e

Please sign in to comment.