aboutsummaryrefslogtreecommitdiff
path: root/sbrun
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-09-25 03:31:11 -0400
committerB. Watson <urchlay@slackware.uk>2026-09-25 03:31:11 -0400
commit4d57bd62f0b11b09e70375f196cf5d63c92ed49a (patch)
tree767894497f885f3ab6f9db2f706b628251ac8a74 /sbrun
parent9996aef00bc85494e6b983596ff49fa8a43bae51 (diff)
downloadsbo-maintainer-tools-4d57bd62f0b11b09e70375f196cf5d63c92ed49a.tar.gz
sbrun: add to "make man", add --man option.
Diffstat (limited to 'sbrun')
-rwxr-xr-xsbrun16
1 files changed, 9 insertions, 7 deletions
diff --git a/sbrun b/sbrun
index 88373d6..f3b24c7 100755
--- a/sbrun
+++ b/sbrun
@@ -1,5 +1,7 @@
#!/bin/bash
+VERSION=0.0.1
+
# TODO: distcc masquerade dir, pump mode
# TODO: fix interactive shell option
# TODO: maybe change the cpufreq governor?
@@ -218,7 +220,7 @@ if [ "$1" = "--help" ]; then
elif [ "$1" = "--long-help" ]; then
long_help ; exit 0
elif [ "$1" = "--man" ]; then
- die "--man not yet supported"
+ exec pod2man --stderr -s1 -csbo-maintainer-tools -r$VERSION $0 ; exit 0
fi
# save original args, as we're going to permute them, below
@@ -717,18 +719,18 @@ do any of these things:
- check source file md5sums.
- allow building multiple packages at once (queue files), though it
- will call 'sbqrun' with the -q/-Q options (and sbqrun calls sbrun
- for each dependency).
+will call 'sbqrun' with the -q/-Q options (and sbqrun calls sbrun
+for each dependency).
- install/upgrade/remove packages (it *just* builds them, though it will
- call 'upkg' with the -i option).
+call 'upkg' with the -i option).
- sync the repo, or even have any concept of a repo (it only deals
- with a single SlackBuild script, in the current directory).
+with a single SlackBuild script, in the current directory).
- anything to do with .info files. Nothing about sbrun is SBo-specific,
- it'll work with Pat's or AlienBOB's or anyone else's scripts (which
- is why it's called sbrun and not sborun).
+it'll work with Pat's or AlienBOB's or anyone else's scripts (which
+is why it's called sbrun and not sborun).
=head2 git integration