local repository repository_type repository_path
- repository_type="`echo $repository | cut -d : -f 1`"
- repository_path="`echo $repository | cut -d : -f 2`"
-
if ! echo $repository | grep -q ":"; then
repository="file://$repository"
fi
+ repository_type="`echo $repository | cut -d : -f 1`"
+ repository_path="`echo $repository | cut -d : -f 2`"
+
if [ "$repository_type" == "file" ] && [ ! -d "$repository_path" ]; then
echo "Creating subversion repository $repository..."
mkdir -p `dirname $repository_path`