summaryrefslogtreecommitdiff
path: root/src/lib/blacklist.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/blacklist.sh')
-rwxr-xr-xsrc/lib/blacklist.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/blacklist.sh b/src/lib/blacklist.sh
index 84333e8..6b1898d 100755
--- a/src/lib/blacklist.sh
+++ b/src/lib/blacklist.sh
@@ -19,8 +19,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
# make sure XDG_CACHE_HOME is set
-. "$(librelib conf)"
+source "$(librelib conf)"
+
# Usage: blacklist-normalize <$file
# Normalizes the syntax of the blacklist on stdin.
@@ -50,7 +52,7 @@ blacklist-cat() {
# Usage: blacklist-update
# Updates (or creates) the cached copy of the blacklist.
blacklist-update() (
- . "$(librelib messages)"
+ source "$(librelib messages)"
load_conf libretools.conf BLACKLIST || return
local remote_blacklist="$BLACKLIST"