configure now uses GIRPATH if set from environment

parent 13324c3d
......@@ -5,6 +5,10 @@ CODENAME="We're Getting High With The Rhythm"
ERR_MSG=""
if [[ ! $GIRPATH ]]; then
export GIRPATH="/usr/lib/girepository-1.0/"
fi
export OLDPATH=$PATH
export PATH="$PATH:/sbin:/usr/sbin:/usr/local/sbin"
......
......@@ -93,7 +93,7 @@ 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 ${GIRPATH}/$TYPE_LIB* 2>/dev/null) .typelib 2>/dev/null)
if [[ $FILE != ".typelib" ]]; then
......
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