kiss-bin

kiss extension for binary package management
git clone git://git.carbslinux.org/kiss-bin
Log | Files | Refs | README | LICENSE

commit 1cf9adc4c5e488acf011fb8ea477f4664b613774
parent 7a997e2576224d9664f4b800a5cea6ebc3f122c4
Author: Cem Keylan <cem@ckyln.com>
Date:   Mon,  1 Jun 2020 21:39:35 +0300

kiss-bin: use eval instead of creating a temporary file

Diffstat:
Mkiss-bin | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/kiss-bin b/kiss-bin @@ -9,9 +9,7 @@ # # We remove the last line calling the 'main "$@"' function. # We are going to do it ourselves after we define functions. -sed '$d' "$(command -v kiss)" > .kisslib -. ./.kisslib -rm -f .kisslib +eval "$(sed '$d' "$(command -v kiss)")" pkg_sync() { # Word splitting is intentional here.