aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authord4wnr4z0r <j@dawnrazor.net>2013-11-27 13:07:40 -0600
committerd4wnr4z0r <j@dawnrazor.net>2013-11-27 13:07:40 -0600
commit3da830ae25c2f4ec6d7d9a4d07aa3781953e844c (patch)
tree403131910b655e964093350a0fb8475e49c6d8eb /tools
parent24de87489ef186aa73cf74a71fcfa04188368754 (diff)
downloadsbotools-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-xtools/update_man_pages.sh8
-rwxr-xr-xtools/update_versions.sh1
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)