[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

pythondeps.sh and python not found...



Look at the build.log from gettext for example
(http://koji.fedoraproject.org/koji/getfile?taskID=84453&name=build.log):

/usr/lib/rpm/pythondeps.sh: line 8: python: command not found

Better do

which python >/dev/null 2>&1
if [ $? == 1 ]; then exit 0; fi

before calling python.

Yes, it's cosmetic....

-of


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]