#!/bin/bash

if [ $# -ne 3 ]; then
    echo 1>&2 "Usage: $0 stanalonedir plugindir msg"
    exit 1
fi

STDIR=$1
PLDIR=$2
MSG=$3

./copy_files.sh $STDIR $PLDIR

echo "Remember: You have to add new files manualy."

cd $PLDIR
git commit -am "$MSG"

