--- trunk/update_extension_ver.sh 2005/09/25 16:40:12 13
+++ trunk/update_extension_ver.sh 2006/01/25 22:11:24 16
@@ -36,15 +36,15 @@
#echo "unpacked chrome to $dir/$chrome"
cat $dir/install.rdf | sed \
- -s 's#(+ver[0-9]*fix)*##' \
+ -e 's#(+ver[0-9]*fix)*##' \
-e 's##+verfix#' \
-e 's#[^<]*#'$version'#' \
> $dir/install.rdf.new && \
mv $dir/install.rdf.new $dir/install.rdf && \
- echo "updated version to $version in $dir/install.rdf"
+ echo "updated version to $version in $dir/install.rdf" || exit
cd $dir && zip -9 -r $jar * && cd - && \
echo "created new jar $dir/$jar"
mv "$dir/$jar" $jar && echo "replaced jar with new version"
-rm -Rf "$dir"
+#rm -Rf "$dir"