]> code.citadel.org Git - citadel.git/blobdiff - webcit/po/webcit/create-pot.sh
Changing the name of the 'Aide' access level to 'Admin'
[citadel.git] / webcit / po / webcit / create-pot.sh
index e8c6d3a49b89b0ad3ce8567388678c9bac281842..c2ac2117f0e29922b62ed06bcb32fd776bec7494 100755 (executable)
@@ -1,5 +1,8 @@
 #!/bin/bash
 
+CSOURCES=`find ../.. -name \*.c`
+HSOURCES=`find ../.. -name \*.html`
+
 echo Updating webcit.pot from strings in the source code ...
 xgettext \
        --copyright-holder='The Citadel Project - http://www.citadel.org' \
@@ -7,7 +10,7 @@ xgettext \
        -k_ \
        -o webcit.pot \
        --add-comments \
-       ../*.c ../static/t/*.html
+       $CSOURCES $HSOURCES
 
 for x in *.po
 do