mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-02-27 06:15:49 +01:00
Added xonsh shell from rindeal repo.
This commit is contained in:
19
eclass/portage-functions-patched.eclass
Normal file
19
eclass/portage-functions-patched.eclass
Normal file
@@ -0,0 +1,19 @@
|
||||
# Copyright 2016, 2019 Jan Chren (rindeal)
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# @ECLASS: portage-functions-patched.eclass
|
||||
# @BLURB: Set of portage functions overrides
|
||||
|
||||
case "${EAPI:-"0"}" in
|
||||
"6" | "7" ) ;;
|
||||
* ) die "EAPI='${EAPI}' is not supported by ECLASS='${ECLASS}'" ;;
|
||||
esac
|
||||
|
||||
|
||||
## Origin: portage - bin/isolated-functions.sh
|
||||
rindeal:has() {
|
||||
local -r -- IFS=$'\a'
|
||||
|
||||
[[ "${IFS}${*:2}${IFS}" == *"${IFS}${1}${IFS}"* ]]
|
||||
}
|
||||
has() { rindeal:has "${@}" ; }
|
||||
Reference in New Issue
Block a user