@@ -4,7 +4,7 @@ configFile=/etc/git-backup.conf
initPath()
{
- cd "$1" && git init && git remote add origin git:backup/$(hostname)$(pwd)
+ cd "$1" && git init && git remote add origin git:backup/$(hostname)$(pwd | tr '/' '-')
}
if [ $# -eq 1 ] && [ "$1" = "--init" ]