Commit a6d8fb67 authored by mara's avatar mara

x11 check in X11_PATH

parent 22474eae
...@@ -128,9 +128,10 @@ build() { ...@@ -128,9 +128,10 @@ build() {
if [[ $t == x ]]; then if [[ $t == x ]]; then
X11_PKG_PATH=$(find ${_BUILD}/$t/ -type f -name "${p}-*.?z") X11_PKG_PATH=$(find ${_BUILD}/$t/ -type f -name "${p}-*.?z")
X11_MODULE=$(echo ${X11_PKG_PATH} | rev | cut -d '/' -f2 | rev) X11_MODULE=$(echo ${X11_PKG_PATH} | rev | cut -d '/' -f2 | rev)
if [[ ! -z $X11_MODULE ]]; then if [[ ! -z $X11_MODULE && ${X11_PKG_PATH} =~ '/x11/' ]]; then
x11_root="x11" x11_root="x11"
source ${_BUILD}/$t/$x11_root/.rules source ${_BUILD}/$t/$x11_root/.rules
unset X11_PKG_PATH X11_MODULE
continue continue
fi fi
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment