From d61673351faf041a96891f560b842b8ed5bbb101 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 25 Oct 2015 23:42:59 -0400 Subject: sbofindsrc: add default dir and SBOROOT env var --- sbofindsrc | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) (limited to 'sbofindsrc') diff --git a/sbofindsrc b/sbofindsrc index e2aedea..76bf067 100755 --- a/sbofindsrc +++ b/sbofindsrc @@ -2,7 +2,13 @@ # 20150827 bkw: attempt to find missing source tarballs -SELF=$( basename $0 ) +### configurable stuff + +# where to look for slackbuilds. override with SBOROOT environment +# variable. current directory is always searched first. + +#SBODEFAULT=$HOME/slackbuilds +SBODEFAULT=/home/urchlay/sbo-master # to add a repo, list its name here, and write a _download() # function, which should return success if a file was downloaded and @@ -34,6 +40,10 @@ http://slackware.org.uk/sbosrcarch http://urchlay.naptime.net/~urchlay/sbosrc " +### end of config, start of code + +SELF=$( basename $0 ) + usage() { cat <