Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vecs
FIJI Public
Commits
90e0b9a5
Commit
90e0b9a5
authored
Sep 21, 2015
by
Stefan Tauner
Browse files
Refine beautify.sh
parent
ce037e9e
Changes
2
Hide whitespace changes
Inline
Side-by-side
beautify.sh
View file @
90e0b9a5
#!/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
{}
\;
fiji_download_gui.pl
View file @
90e0b9a5
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment