3
if [ "x$1" == "x" ]; then
4
echo "Need a plugin name!"
8
CRUFT=`echo $1 | tr "a-z" "A-Z"`
10
DESTFILE=../../notimap/protocol/$1.py
12
if [ -e $DESTFILE ]; then
13
echo "$DESTFILE exists. Ctrl+C to stop, enter to remove and regenerate."
17
cat ./plugin.py.example | sed s/XXX/$CRUFT/g > $DESTFILE