svn up ../../skel/ || exit 255
echo "$0: Importing skeleton repository ..."
svn export --force ../../skel/trunk/ . || exit 255
svn up ../../skel/ || exit 255
echo "$0: Importing skeleton repository ..."
svn export --force ../../skel/trunk/ . || exit 255
if test "$1" != "admin"; then
echo "$0: Adding directory application/$1 ..."
svn mkdir application/$1 || exit 255
if test "$1" != "admin"; then
echo "$0: Adding directory application/$1 ..."
svn mkdir application/$1 || exit 255
fi
echo "$0: Linking to external 'core' repository ..."
svn propset svn:externals -F ../../core/trunk/svn-externals.txt . || exit 255
fi
echo "$0: Linking to external 'core' repository ..."
svn propset svn:externals -F ../../core/trunk/svn-externals.txt . || exit 255