Make some sed more portable: Use \{0,1\} instead of \?
authorIan Lynagh <igloo@earth.li>
Thu, 24 Sep 2009 17:10:25 +0000 (17:10 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 24 Sep 2009 17:10:25 +0000 (17:10 +0000)
boot-pkgs

index 353112b..91da9a3 100644 (file)
--- a/boot-pkgs
+++ b/boot-pkgs
@@ -3,7 +3,7 @@ set -e
 
 libraries=
 
-tarred=`ls -1 libraries/tarballs | sed "s/-[0-9.]*\(-snapshot\)\?.tar.gz//"`
+tarred=`ls -1 libraries/tarballs | sed "s/-[0-9.]*\(-snapshot\)\{0,1\}.tar.gz//"`
 
 for p in $tarred
 do