1
0
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:
2020-08-24 14:32:25 +02:00
parent 05d1ad073d
commit c2597065fb
7 changed files with 1052 additions and 0 deletions

View 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 "${@}" ; }