changeset 704419e5f5a3 in /home/hg/repos/gajim

details:http://hg.gajim.org/gajim?cmd=changeset;node=704419e5f5a3
description: don't fail to autogen when there is no plugin

diffstat:

 autogen.sh |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r ffb5c38728a5 -r 704419e5f5a3 autogen.sh
--- a/autogen.sh        Fri Mar 09 08:45:47 2012 +0100
+++ b/autogen.sh        Sat Mar 10 13:32:34 2012 +0100
@@ -22,8 +22,10 @@
   && ls -1 data/gajim.desktop.in.in \
   src/*.py src/common/*.py src/command_system/implementation/*.py 
src/common/zeroconf/*.py src/plugins/*.py | grep -v ipython_view.py >> \
   po/POTFILES.in \
-  && echo -e "data/gajim.desktop.in\nsrc/ipython_view.py" > po/POTFILES.skip \
-  && ls -1 plugins/*/*.py plugins/*/*.ui >> po/POTFILES.skip || exit 1
+  && echo -e "data/gajim.desktop.in\nsrc/ipython_view.py" > po/POTFILES.skip  
|| exit 1
+  if [ $(find plugins/ -name '*.py' | wc -l) -gt 0 ];then
+    ls -1 plugins/*/*.py plugins/*/*.ui >> po/POTFILES.skip
+  fi
   if test -z `which pkg-config 2>/dev/null`;then
     echo "***Error: pkg-config not found***"
        echo "See README.html for build requirements."
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to