[Fai-commit] r4349 - trunk/lib

lange at alioth.debian.org lange at alioth.debian.org
Thu Jun 14 20:59:10 UTC 2007


Author: lange
Date: 2007-06-14 20:59:10 +0000 (Thu, 14 Jun 2007)
New Revision: 4349

Modified:
   trunk/lib/subroutines-linux
Log:
fix extra slash in path (closes: #428860)


Modified: trunk/lib/subroutines-linux
===================================================================
--- trunk/lib/subroutines-linux	2007-06-14 20:54:15 UTC (rev 4348)
+++ trunk/lib/subroutines-linux	2007-06-14 20:59:10 UTC (rev 4349)
@@ -151,9 +151,9 @@
 
     # mount debian mirror directory
     [ "$FAI_DEBMIRROR" ] || return   # nothing to do
-    mkdir -p $FAI_ROOT/$MNTPOINT
-    if mount $romountopt $FAI_DEBMIRROR $FAI_ROOT/$MNTPOINT; then
-      [ "$debug" ] && echo "Mirror mounted from $FAI_DEBMIRROR to $FAI_ROOT/$MNTPOINT"
+    mkdir -p ${FAI_ROOT}${MNTPOINT}
+    if mount $romountopt $FAI_DEBMIRROR ${FAI_ROOT}${MNTPOINT}; then
+      [ "$debug" ] && echo "Mirror mounted from $FAI_DEBMIRROR to ${FAI_ROOT}${MNTPOINT}"
     else
       sendmon "TASKERROR mirror $?"
       die "Can't mount $FAI_DEBMIRROR"




More information about the Fai-commit mailing list