[Rear-users] SF.net SVN: rear:[740] trunk/usr/share/rear/lib/layout-functions.sh

jhoekx at users.sourceforge.net jhoekx at users.sourceforge.net
Wed Nov 23 15:22:14 CET 2011


Revision: 740
          http://rear.svn.sourceforge.net/rear/?rev=740&view=rev
Author:   jhoekx
Date:     2011-11-23 14:22:14 +0000 (Wed, 23 Nov 2011)
Log Message:
-----------
Fix unset in layout-functions when nullglob is set.

Modified Paths:
--------------
    trunk/usr/share/rear/lib/layout-functions.sh

Modified: trunk/usr/share/rear/lib/layout-functions.sh
===================================================================
--- trunk/usr/share/rear/lib/layout-functions.sh	2011-11-23 13:19:46 UTC (rev 739)
+++ trunk/usr/share/rear/lib/layout-functions.sh	2011-11-23 14:22:14 UTC (rev 740)
@@ -226,7 +226,7 @@
         done < $LAYOUT_DEPS
 
         ### remove the current element from the array and re-index it
-        unset devlist[0]
+        unset "devlist[0]"
         devlist=( "${devlist[@]}" )
     done
 
@@ -266,7 +266,7 @@
         done < $LAYOUT_DEPS
 
         ### remove the current element from the array and re-index it
-        unset devlist[0]
+        unset "devlist[0]"
         devlist=( "${devlist[@]}" )
     done
 

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