r5059 - trunk/varnish-cache/redhat

ingvar at varnish-cache.org ingvar at varnish-cache.org
Fri Jul 30 15:24:24 CEST 2010


Author: ingvar
Date: 2010-07-30 15:24:24 +0200 (Fri, 30 Jul 2010)
New Revision: 5059

Modified:
   trunk/varnish-cache/redhat/README.redhat
Log:
Simpler script to build rpm files from trunk


Modified: trunk/varnish-cache/redhat/README.redhat
===================================================================
--- trunk/varnish-cache/redhat/README.redhat	2010-07-30 12:04:26 UTC (rev 5058)
+++ trunk/varnish-cache/redhat/README.redhat	2010-07-30 13:24:24 UTC (rev 5059)
@@ -68,14 +68,11 @@
 
 #!/bin/bash
 VERSION=$( awk ' /^Version:/ { print $2 } ' varnish-cache/redhat/varnish.spec )
-ln -s varnish-cache varnish-$VERSION
-tar $(
-    find varnish-$VERSION/ -type d -name .svn | \
+tar $(  find varnish-cache -type d -name .svn | \
         while read i; do 
             echo -n "--exclude $i "
             done
-) -cvzf varnish-$VERSION.tar.gz varnish-$VERSION/*
-rm varnish-$VERSION
+) -cvzf varnish-$VERSION.tar.gz varnish-cache/*
 rpmbuild -ts varnish-$VERSION.tar.gz
 # End of script
 




More information about the varnish-commit mailing list