File: tidy.sh

package info (click to toggle)
libnet-epp-perl 0.28-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 384 kB
  • sloc: perl: 2,540; sh: 3; makefile: 2
file content (8 lines) | stat: -rwxr-xr-x 189 bytes parent folder | download
1
2
3
4
5
6
7
8
#!/bin/sh
# this runs perltidy for every script and then cleans up after itself

DIR="$(dirname "$0")"

find "$DIR" -iname '*.p[lm]' | xargs perltidy -b

find "$DIR" -iname '*.bak' -delete