summaryrefslogtreecommitdiff
path: root/src/librefetch
diff options
context:
space:
mode:
Diffstat (limited to 'src/librefetch')
-rwxr-xr-xsrc/librefetch/librefetch6
-rwxr-xr-xsrc/librefetch/librefetch-install5
2 files changed, 8 insertions, 3 deletions
diff --git a/src/librefetch/librefetch b/src/librefetch/librefetch
index 38355b2..d8e40a6 100755
--- a/src/librefetch/librefetch
+++ b/src/librefetch/librefetch
@@ -32,8 +32,10 @@
# create_signature() is taken from pacman:makepkg, which is GPLv2+,
# so we take the '+' to combine it with our GPLv3+.
-. "$(librelib conf)"
-. "$(librelib messages)"
+
+source "$(librelib conf)"
+source "$(librelib messages)"
+
setup_traps
trap 'rm -f -- "${tmpfiles[@]}"; rm -rf -- "${tmpdirs[@]}"' EXIT
diff --git a/src/librefetch/librefetch-install b/src/librefetch/librefetch-install
index 2cdb014..5f4fd82 100755
--- a/src/librefetch/librefetch-install
+++ b/src/librefetch/librefetch-install
@@ -20,8 +20,11 @@
# You should have received a copy of the GNU General Public License
# along with Parabola. If not, see <http://www.gnu.org/licenses/>.
+
set -ueE
-. "$(librelib messages)"
+
+source "$(librelib messages)"
+
# These lines were installed by previous versions of this script
old_code=(