forked from kiss-community/kiss
kiss: fix incorrect path to pkg_strip. Closes #252
This commit is contained in:
parent
e0afa0c2fb
commit
c884f57eb2
6
kiss
6
kiss
@ -624,7 +624,7 @@ pkg_strip() {
|
|||||||
case $(od -A o -t c -N 18 "$file") in
|
case $(od -A o -t c -N 18 "$file") in
|
||||||
# REL (object files (.o), static libraries (.a)).
|
# REL (object files (.o), static libraries (.a)).
|
||||||
*177*E*L*F*0000020\ 001\ *|*\!*\<*a*r*c*h*\>*)
|
*177*E*L*F*0000020\ 001\ *|*\!*\<*a*r*c*h*\>*)
|
||||||
strip -g -R .comment -R .note "$file"
|
strip -g -R .comment -R .note "$pkg_dir/$pkg$file"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# EXEC (binaries), DYN (shared libraries).
|
# EXEC (binaries), DYN (shared libraries).
|
||||||
@ -632,7 +632,7 @@ pkg_strip() {
|
|||||||
# called '.dynsym'. '--strip-all/-s' does not touch the dynamic
|
# called '.dynsym'. '--strip-all/-s' does not touch the dynamic
|
||||||
# symbol entries which makes this safe to do.
|
# symbol entries which makes this safe to do.
|
||||||
*177*E*L*F*0000020\ 00[23]\ *)
|
*177*E*L*F*0000020\ 00[23]\ *)
|
||||||
strip -s -R .comment -R .note "$file"
|
strip -s -R .comment -R .note "$pkg_dir/$pkg$file"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
esac done < "$pkg_dir/$1/$pkg_db/$1/manifest" 2>/dev/null || :
|
esac done < "$pkg_dir/$1/$pkg_db/$1/manifest" 2>/dev/null || :
|
||||||
@ -1808,7 +1808,7 @@ args() {
|
|||||||
s|search) for pkg do pkg_find "$pkg" all; done ;;
|
s|search) for pkg do pkg_find "$pkg" all; done ;;
|
||||||
u|update) pkg_update ;;
|
u|update) pkg_update ;;
|
||||||
U|upgrade) pkg_upgrade ;;
|
U|upgrade) pkg_upgrade ;;
|
||||||
v|version) printf '5.5.22\n' ;;
|
v|version) printf '5.5.23\n' ;;
|
||||||
|
|
||||||
'')
|
'')
|
||||||
log 'kiss [a|b|c|d|i|l|r|s|u|v] [pkg]...'
|
log 'kiss [a|b|c|d|i|l|r|s|u|v] [pkg]...'
|
||||||
|
Loading…
Reference in New Issue
Block a user