Update of /cvsroot/fink/experimental/thesin/finkinfo
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv19997

Modified Files:
        dpkg.info 
Log Message:
Proper bash float compare

Index: dpkg.info
===================================================================
RCS file: /cvsroot/fink/experimental/thesin/finkinfo/dpkg.info,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- dpkg.info   30 Aug 2013 17:38:20 -0000      1.48
+++ dpkg.info   3 Sep 2013 04:24:51 -0000       1.49
@@ -72,7 +72,7 @@
 
 # Fix for tar (Slightly modified for dpkg-bootstrap)
 if [ "%n" = "dpkg-bootstrap" ]; then \
-  if [ `/usr/bin/sw_vers -productVersion | cut -d'.' -f1-2` > 10.8 ]; then \
+  if [[ $(/usr/bin/sw_vers -productVersion) > 10.8 ]]; then \
     perl -pi -e 's,\"tar\",\"/usr/bin/tar\",g' dpkg-deb/build.c 
dpkg-deb/extract.c lib/dpkg/dpkg.h lib/dpkg/subproc.c; \
     perl -pi -e 's,--warning=no-timestamp,-v,g' dpkg-deb/extract.c; \
     perl -pi -e 's,--format=gnu,--format=ustar,g' dpkg-deb/build.c; \


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to