small fixes in build-system

parent 33e825d8
......@@ -93,8 +93,9 @@ for SECTION in GIR OPT_GIR; do
DEPENDENCY=$(grep -w ${SECTION}${DONE_COUNTER} .configure/depends | gawk '{print $2}')
VERSION=$(grep -w ${SECTION}${DONE_COUNTER} .configure/depends | gawk '{print $3}')
TYPE_LIB=$(grep -w ${SECTION}${DONE_COUNTER} .configure/depends | gawk '{print $4}')
FILE=$(basename $(ls /usr/lib/girepository-1.0/$TYPE_LIB-* 2>/dev/null) .typelib 2>/dev/null)
FILE=$(basename $(ls /usr/lib/girepository-1.0/$TYPE_LIB* 2>/dev/null) .typelib 2>/dev/null)
if [[ $FILE != ".typelib" ]]; then
EXIST_RETURN=0
XVER=$(echo $FILE | gawk -F \- '{print $2}')
......@@ -135,10 +136,10 @@ for SECTION in PYMOD OPT_PYMOD; do
if [[ $DEPENDENCY == *:* ]]; then
FROM=$(echo $DEPENDENCY | gawk -F \: '{print $1}')
SMOD=$(echo $DEPENDENCY | gawk -F \: '{print $2}')
python -c "from $FROM import $SMOD"
python -c "from $FROM import $SMOD" 2>/dev/null
else
python -c "import imp
imp.find_module('$DEPENDENCY')"
imp.find_module('$DEPENDENCY')" 2>/dev/null
fi
DEP_RETURN=$?
......
......@@ -17,7 +17,7 @@ OPT_APP7 tree :* The optional tree couldn't be found. `treecd' won't work\n
OPT_SBINAPP1 dmidecode :* The optional dmidecode couldn't be found. `systeminfos --bios' won't work\n
GIR1 Gtk+3 3.0 Gtk
GIR1 Gtk+3 3.0 Gtk-3.0
PYMOD1 ctypes
PYMOD2 gettext
......
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