medit/po/mkpotsubdirs

11 lines
228 B
Bash

#!/bin/sh
if test "x$1" = "x"; then
echo "usage: $0 <srcdir>"
exit 1
fi
potfiles=`cat $1/POTFILES.in` && cd .. && \
for potfile in $potfiles; do mkdir -p `dirname $potfile`; done && \
echo stamp > po/pot-subdirs-stamp