diff options
author | d4wnr4z0r <j@dawnrazor.net> | 2013-11-27 13:07:40 -0600 |
---|---|---|
committer | d4wnr4z0r <j@dawnrazor.net> | 2013-11-27 13:07:40 -0600 |
commit | 3da830ae25c2f4ec6d7d9a4d07aa3781953e844c (patch) | |
tree | 403131910b655e964093350a0fb8475e49c6d8eb /tools | |
parent | 24de87489ef186aa73cf74a71fcfa04188368754 (diff) | |
download | sbotools-3da830ae25c2f4ec6d7d9a4d07aa3781953e844c.tar.xz |
credits in README, tools/ cleanups, elide the Sort::Versions.3 man page
so that we don't clobber one from perl-Sort-Versions or Sort::Versions.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/update_man_pages.sh | 8 | ||||
-rwxr-xr-x | tools/update_versions.sh | 1 |
2 files changed, 4 insertions, 5 deletions
diff --git a/tools/update_man_pages.sh b/tools/update_man_pages.sh index 6a57b4c..fe96125 100755 --- a/tools/update_man_pages.sh +++ b/tools/update_man_pages.sh @@ -78,12 +78,12 @@ update_date() { new_date=$(ddate +"%{%A, %B %d%}, %Y YOLD") - for i in $(ls man1); do - sed_file man1/$i "s/$old_date/$new_date/g" + for i in man1/*; do + sed_file $i "s/$old_date/$new_date/g" done - for i in $(ls man5); do - sed_file man5/$i "s/$old_date/$new_date/g" + for i in man5/*; do + sed_file $i "s/$old_date/$new_date/g" done if [[ "$?" == "0" ]]; then diff --git a/tools/update_versions.sh b/tools/update_versions.sh index 493a3fb..50e9464 100755 --- a/tools/update_versions.sh +++ b/tools/update_versions.sh @@ -28,7 +28,6 @@ update=" old_version=$(grep '^our $VERSION' SBO-Lib/lib/SBO/Lib.pm \ | grep -Eo '[0-9]+(\.[0-9]+){0,1}') -echo $old_version tmpfile=$(mktemp /tmp/XXXXXXXXXX) |