From 626705238075a1aceca518e4d464b5df6458750f Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 5 Jul 2014 02:36:52 -0400 Subject: quote calls to librelib --- src/lib/common.sh.3.ronn | 2 +- src/lib/conf.sh.3.ronn | 2 +- src/lib/libreblacklist | 4 ++-- src/lib/libreblacklist.1.ronn | 2 +- src/lib/librelib.1.ronn | 14 +++++++------- src/lib/librelib.7.ronn | 4 ++-- src/lib/libremessages | 2 +- src/lib/libremessages.1.ronn | 2 +- 8 files changed, 16 insertions(+), 16 deletions(-) (limited to 'src/lib') 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 . # 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)`
+`. "$(librelib blacklist)"`
`. libreblacklist`
`libremessages` [-h] [...] 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)`
+`. "$(librelib LIBRARY)"`
`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)`
+`. "$(librelib messages)"`
`. libremessages`
`libremessages` -- cgit v1.2.3-54-g00ecf