From 973101ffc8cc80c1e4a85aa08345143ec0e5b8e1 Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Wed, 12 Feb 2020 08:38:37 +0000 Subject: kiss: Fix alternatives bug. Closes #111 FossilOrigin-Name: a4a39efa62e198273a20faeeae91648d0f0566f27e8ab11b9a53906ba53b4888 --- kiss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kiss') diff --git a/kiss b/kiss index d9ab103..7839181 100755 --- a/kiss +++ b/kiss @@ -824,7 +824,7 @@ pkg_swap() { # Convert the current owner to an alternative and rewrite # its manifest file to reflect this. - cp -f "$2" "$pkg_owns>${alt#*>}" + cp -Pf "$2" "$pkg_owns>${alt#*>}" sed -i "$(esc "$2" "$PWD/$pkg_owns>${alt#*>}")" \ "../installed/$pkg_owns/manifest" fi @@ -1308,7 +1308,7 @@ args() { l|list) pkg_list "$@" ;; u|update) pkg_updates ;; s|search) for pkg; do pkg_find "$pkg" all; done ;; - v|version) log kiss 1.5.3 ;; + v|version) log kiss 1.5.4 ;; h|help|-h|--help|'') log 'kiss [a|b|c|i|l|r|s|u|v] [pkg] [pkg] [pkg]' -- cgit v1.2.3