diff src/package @ 14:443aa0e8c6fa

changes suggested by Nigel Horne
author carl
date Mon, 26 Apr 2004 09:28:30 -0700
parents 2752e512fd32
children 19f11ae628df
line wrap: on
line diff
--- a/src/package	Sun Apr 25 11:36:08 2004 -0700
+++ b/src/package	Mon Apr 26 09:28:30 2004 -0700
@@ -1,14 +1,17 @@
 #!/bin/bash
 
+VER=dnsbl-2.1
+mkdir $VER
 target1=/home/httpd/html/510sg/util/dnsbl.tar.gz
 target2=/home/httpd/html/510sg/dnsbl.conf
 target3=/home/httpd/html/510sg/dnsbl.html
 
-mv -f dnsbl.conf dnsbl.conf.save
-mv sample.conf dnsbl.conf
-    tar cfvz $target1 dnsbl.cpp scanner.cpp test.cpp dnsbl.conf dnsbl.rc install.bash LICENSE
-mv dnsbl.conf sample.conf
-mv dnsbl.conf.save dnsbl.conf
+    cp sample.conf  $VER/dnsbl.conf
+    cp *cpp         $VER
+    cp *rc          $VER
+    cp install.bash $VER
+    cp LICENSE      $VER
+    tar cfvz $target1 $VER
 
 cp sample.conf $target2
 cp dnsbl.html  $target3
@@ -16,3 +19,4 @@
 scp $target1 ns1:$target1
 scp $target2 ns1:$target2
 scp $target3 ns1:$target3
+rm -rf $VER