OSSP CVS Repository

ossp - Difference in ossp-pkg/js/devtool.conf versions 1.4 and 1.5
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/js/devtool.conf 1.4 -> 1.5

--- devtool.conf 2006/07/22 15:40:04     1.4
+++ devtool.conf 2006/07/22 19:43:48     1.5
@@ -21,9 +21,8 @@
         "$@"
 
 %version
-    . VERSION
-    V=`echo "${VERSION_JAVASCRIPT}:${VERSION_MOZILLA}:${VERSION_OSSP}" |\
-       sed -e 's;^\([0-9]\)\([0-9]\)[^:]*:FIREFOX_\([0-9]\)_\([0-9]\)[^:]*:\(.*\)$;\1.\2.\3.\4.\5;'`
+    ./shtool version -l txt -n "OSSP js" -e VERSION
+    V=`./shtool version -l txt -d long VERSION`
     sed -e "s/Version .*/Version $V/g" <README >README.n
     mv README.n README
 
@@ -49,10 +48,8 @@
     echo "+++ fixing"
     ./shtool fixperm -v .
     echo "+++ rolling"
-    . VERSION
-    V=`echo "${VERSION_JAVASCRIPT}:${VERSION_MOZILLA}:${VERSION_OSSP}" |\
-       sed -e 's;^\([0-9]\)\([0-9]\)[^:]*:FIREFOX_\([0-9]\)_\([0-9]\)[^:]*:\(.*\)$;\1.\2.\3.\4.\5;'`
-    ./shtool tarball -o js-${V}.tar.gz -d js-${V} -u ossp -g ossp \
+    V=`./shtool version -l txt -d short VERSION`
+    ./shtool tarball -o js-${V}.tar.gz -d js-${V} -u ossp -g js \
                      -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,^#.*,.*~$' -c 'gzip --best' .
     ls -l js-${V}.tar.gz
     echo "+++ testing"
@@ -62,8 +59,6 @@
 
 %upload
     echo "+++ copying to ftp://ftp.ossp.org/pkg/lib/js/"
-    . VERSION
-    V=`echo "${VERSION_JAVASCRIPT}:${VERSION_MOZILLA}:${VERSION_OSSP}" |\
-       sed -e 's;^\([0-9]\)\([0-9]\)[^:]*:FIREFOX_\([0-9]\)_\([0-9]\)[^:]*:\(.*\)$;\1.\2.\3.\4.\5;'`
+    V=`./shtool version -l txt -d short VERSION`
     scp js-${V}.tar.gz ossp@master.ossp.org:/v/ossp/ftp/pkg/lib/js/
 

CVSTrac 2.0.1