Avoid message "Must specify package names on the command line"

This commit is contained in:
Kolan Sh 2012-01-23 11:29:50 +04:00
parent 8dcbcf74ac
commit a41a84d027
1 changed files with 2 additions and 2 deletions

View File

@ -61,8 +61,8 @@ while true ; do
done
# ======= Show Environment =======
INCLUDES="$INCLUDES `pkg-config --cflags $PACKAGES`"
REP_LIBS="$REP_LIBS `pkg-config --libs $PACKAGES`"
INCLUDES="$INCLUDES `pkg-config --cflags $PACKAGES 2>/dev/null`"
REP_LIBS="$REP_LIBS `pkg-config --libs $PACKAGES 2>/dev/null`"
SOURCES="`echo $SOURCES | sed 's~ ~\n~g' | sort -u | tr '\n' ' '`"
PACKAGES="`echo $PACKAGES | sed 's~ ~\n~g' | sort -u | tr '\n' ' '`"
INCLUDES="`echo $INCLUDES | sed 's~ ~\n~g' | sort -u | tr '\n' ' '`"