]> Dogcows Code - chaz/tar/blobdiff - scripts/restore.in
Update
[chaz/tar] / scripts / restore.in
index 88ab1fa9675530f415cbbfb72c25de84269f3630..5676cf90ea73268f32d229075aa610bdacb962a9 100644 (file)
@@ -14,8 +14,8 @@
 #
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
 
 # Load library routines
 SYSCONFDIR=${SYSCONFDIR-@sysconfdir@}
@@ -111,6 +111,7 @@ EOF
 restore_fs()
 {
     fs="`echo \"${1}\" | sed -e 's/^.*://'`"
+    fs=`root_fs $fs`
     fsname="`echo \"${1}\" | sed -e 's/\//:/g'`"
     remotehost="`expr \"${1}\" : '\([^/][^/]*\):.*'`"
     if [ -z "$remotehost" ]; then
@@ -146,7 +147,7 @@ restore_fs()
       backup_host ${remotehost} \
                   "--listed=\"$FILE\"" \
                   "--label=\"$LABEL\"" \
-                 -C ${ROOT_FS-/}$fs
+                 -C $fs
       ${RESTORE_END-:} $level $remotehost $fs $fsname            
     done
 }
@@ -233,4 +234,4 @@ fi) 2>&1 | tee -a "${LOGFILE}"
     
     
           
-       
\ No newline at end of file
+       
This page took 0.02053 seconds and 4 git commands to generate.