- # if only one arg is given, we turn the given srcdir into the darcs
- # master repo with a hidden srcdir inside its _darcs directory.
- if [ -z "$repository" ]; then
- echo "Turning $srcdir into master repo."
- repository="$srcdir"
- srcdir="$srcdir/_darcs/srcdir"
- echo "The new srcdir is $srcdir - adjust ikiwiki.setup accordingly!"
- fi
-