summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-07-05 02:36:52 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-07-05 18:08:47 -0400
commit626705238075a1aceca518e4d464b5df6458750f (patch)
tree74d8d67eea8d4311de5f45f29ff2a26acb6bb3a2 /src/lib
parent739f574f08814694c1b85d72ae8964bc0f0bdf97 (diff)
quote calls to librelib
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/common.sh.3.ronn2
-rw-r--r--src/lib/conf.sh.3.ronn2
-rwxr-xr-xsrc/lib/libreblacklist4
-rw-r--r--src/lib/libreblacklist.1.ronn2
-rw-r--r--src/lib/librelib.1.ronn14
-rw-r--r--src/lib/librelib.7.ronn4
-rwxr-xr-xsrc/lib/libremessages2
-rw-r--r--src/lib/libremessages.1.ronn2
8 files changed, 16 insertions, 16 deletions
diff --git a/src/lib/common.sh.3.ronn b/src/lib/common.sh.3.ronn
index f2bab7a..30003e0 100644
--- a/src/lib/common.sh.3.ronn
+++ b/src/lib/common.sh.3.ronn
@@ -3,7 +3,7 @@ common.sh -- common Bash routines from devtools
## SYNOPSIS
-`. $(librelib common)`
+`. "$(librelib common)"`
## DESCRIPTION
diff --git a/src/lib/conf.sh.3.ronn b/src/lib/conf.sh.3.ronn
index 7a4b413..bad271d 100644
--- a/src/lib/conf.sh.3.ronn
+++ b/src/lib/conf.sh.3.ronn
@@ -3,7 +3,7 @@ conf.sh(3) -- easy loading of configuration files
## SYNOPSIS
-`. $(librelib conf)`
+`. "$(librelib conf)"`
## DESCRIPTION
diff --git a/src/lib/libreblacklist b/src/lib/libreblacklist
index eeb6b7f..484c536 100755
--- a/src/lib/libreblacklist
+++ b/src/lib/libreblacklist
@@ -20,7 +20,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# make sure XDG_CACHE_HOME is set
-. $(librelib conf)
+. "$(librelib conf)"
# Usage: blacklist-normalize <$file
# Normalizes the syntax of the blacklist on stdin.
@@ -113,7 +113,7 @@ if [[ "${0##*/}" == libreblacklist ]]; then
usage() {
export TEXTDOMAIN='librelib'
export TEXTDOMAINDIR='/usr/share/locale'
- . $(librelib messages)
+ . "$(librelib messages)"
if [[ $# -eq 0 ]]; then
print "Usage: %s [-h] COMMAND [ARGUMENTS]" "${0##*/}"
print "Tool for working with the nonfree software blacklist"
diff --git a/src/lib/libreblacklist.1.ronn b/src/lib/libreblacklist.1.ronn
index 550ace8..bef9d67 100644
--- a/src/lib/libreblacklist.1.ronn
+++ b/src/lib/libreblacklist.1.ronn
@@ -3,7 +3,7 @@ libreblacklist(1) -- Tools for working with the your-freedom blacklist
## SYNOPSIS
-`. $(librelib blacklist)`<br>
+`. "$(librelib blacklist)"`<br>
`. libreblacklist`<br>
`libremessages` [-h] <COMMAND> [<ARGS>...]
diff --git a/src/lib/librelib.1.ronn b/src/lib/librelib.1.ronn
index b3fc35e..fe64e92 100644
--- a/src/lib/librelib.1.ronn
+++ b/src/lib/librelib.1.ronn
@@ -3,7 +3,7 @@ librelib(1) -- finds a Bash library file
## SYNOPSIS
-`. $(librelib LIBRARY)`<br>
+`. "$(librelib LIBRARY)"`<br>
`librelib -h`
## DESCRIPTION
@@ -32,10 +32,10 @@ When searching for a library, `librelib` first strips `libre` from the
beginning of the name, and `.sh` from the end. This means that all of
the following are equivalent:
- . $(librelib messages)
- . $(librelib messages.sh)
- . $(librelib libremessages)
- . $(librelib libremessages.sh)
+ . "$(librelib messages)"
+ . "$(librelib messages.sh)"
+ . "$(librelib libremessages)"
+ . "$(librelib libremessages.sh)"
Once it has the 'base' name of the library it is looking for, it looks
for a file with that 'base' name (allowing for, but not requiring
@@ -47,8 +47,8 @@ message to standard error, and exit with a code of 1.
## Examples
- . $(librelib messages)
- . $(librelib conf)
+ . "$(librelib messages)"
+ . "$(librelib conf)"
## SEE ALSO
diff --git a/src/lib/librelib.7.ronn b/src/lib/librelib.7.ronn
index 3116462..31fb65f 100644
--- a/src/lib/librelib.7.ronn
+++ b/src/lib/librelib.7.ronn
@@ -27,14 +27,14 @@ if they are invoked directly, the first argument is the library
routine to be executed. For example, the `messages` library may be
included, or executed:
- . $(librelib messages)
+ . "$(librelib messages)"
msg2 "Foo was found: %s" "$foo"
# or
libremessages msg2 "Foo was found: %s" "$foo"
The `blacklist` library is similar:
- . $(librelib blacklist)
+ . "$(librelib blacklist)"
blacklist-update
# or
libreblacklist update
diff --git a/src/lib/libremessages b/src/lib/libremessages
index aadd91e..429a997 100755
--- a/src/lib/libremessages
+++ b/src/lib/libremessages
@@ -34,7 +34,7 @@
# Inherit most functions from devtools #
################################################################################
-. $(librelib common.sh)
+. "$(librelib common.sh)"
################################################################################
# Own functions #
diff --git a/src/lib/libremessages.1.ronn b/src/lib/libremessages.1.ronn
index b3cf13d..5d58fb5 100644
--- a/src/lib/libremessages.1.ronn
+++ b/src/lib/libremessages.1.ronn
@@ -3,7 +3,7 @@ libremessages(1) -- common Bash routines
## SYNOPSIS
-`. $(librelib messages)`<br>
+`. "$(librelib messages)"`<br>
`. libremessages`<br>
`libremessages` <COMMAND>