[Rear-users] SF.net SVN: rear:[672] trunk/usr/share/rear/prep/NETFS/default/ 05_check_NETFS_requirements.sh

gdha at users.sourceforge.net gdha at users.sourceforge.net
Fri Jul 8 14:38:53 CEST 2011


Revision: 672
          http://rear.svn.sourceforge.net/rear/?rev=672&view=rev
Author:   gdha
Date:     2011-07-08 12:38:53 +0000 (Fri, 08 Jul 2011)

Log Message:
-----------
make the case statement safer

Modified Paths:
--------------
    trunk/usr/share/rear/prep/NETFS/default/05_check_NETFS_requirements.sh

Modified: trunk/usr/share/rear/prep/NETFS/default/05_check_NETFS_requirements.sh
===================================================================
--- trunk/usr/share/rear/prep/NETFS/default/05_check_NETFS_requirements.sh	2011-07-08 12:34:02 UTC (rev 671)
+++ trunk/usr/share/rear/prep/NETFS/default/05_check_NETFS_requirements.sh	2011-07-08 12:38:53 UTC (rev 672)
@@ -48,7 +48,7 @@
 fi
 
 # some backup progs require a different backuparchive name
-case "$BACKUP_PROG" in
+case "$(basename $BACKUP_PROG)" in
 	(rsync)
 		# rsync creates a target directory instead of a file
 		BACKUP_PROG_SUFFIX=


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rear-users mailing list