package: fai
version: 3.1.8
tags: patch

Hi,

FAI_CONFIG_SRC with a svn://$URL doesn't work without a user@ in $URL, the 
attached patch fixes this.


regards,
        Holger
--- /usr/lib/fai/get-config-dir-svn.orig	2007-03-22 18:19:24.000000000 +0000
+++ /usr/lib/fai/get-config-dir-svn	2007-03-22 18:40:49.000000000 +0000
@@ -34,6 +34,7 @@
 esac
 		
 [ -n "$username" ] && user="--username $username"
+[ -z "$username" ] && svnurl=$FAI_CONFIG_SRC
 
 if [ -d "$FAI/.svn" ] ; then
    echo "Updating SVN in $FAI"

Attachment: pgpk4TYhGTCqH.pgp
Description: PGP signature

Reply via email to