Commit 36359672 authored by Stefan Tauner's avatar Stefan Tauner
Browse files

Refine beautify.sh

parent f5bd7501
#!/bin/bash
find -iname "*.pl" -exec perltidy --backup-and-modify-in-place --cuddled-else --maximum-line-length=0 {} \;
find -iname "*.pm" -exec perltidy --backup-and-modify-in-place --cuddled-else --maximum-line-length=0 {} \;
#!/bin/sh
tidy_options="--backup-and-modify-in-place -bext='/' -cti=1 --cuddled-else --maximum-line-length=0 --paren-tightness=2 --square-bracket-tightness=2 --brace-tightness=2 --opening-token-right --break-at-old-comma-breakpoints --comma-arrow-breakpoints=0"
find -iname "*.pl" -exec perltidy $tidy_options {} \;
find -iname "*.pm" -exec perltidy $tidy_options {} \;
......@@ -202,6 +202,7 @@ sub main {
# End the queue so the thread can die
$qw->end();
$worker_tid->join();
bailout: # FIXME: this should be above the block above to join all threads... but doing that segfaults O_o
$logger->trace("=== Stopping execution ===");
return 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment