Modified:
trunk/SCRIPTS/Create_Source_Archive.zsh
Log:
fix the create archive script.
Modified: trunk/SCRIPTS/Create_Source_Archive.zsh
==============================================================================
--- trunk/SCRIPTS/Create_Source_Archive.zsh (original)
+++ trunk/SCRIPTS/Create_Source_Archive.zsh Sat Dec 15 08:40:01 2007
@@ -6,12 +6,12 @@
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
-#
+#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
@@ -35,20 +35,23 @@
declare Server="https://eeedit.googlecode.com/svn";
declare Module="org.eeedit.vimclient";
-declare Version=0.2.5
+declare Version="0.2.5";
+
+mkdir --parents "../plugins";
-svn copy \
- "${Server}/trunk" \
- "${Server}/tags/${Module}-${Version}" \
- -m"tag release ${Module} ${Version}" ;
+svn copy \
+ "${Server}/trunk" \
+ "${Server}/tags/${Module}-${Version}" \
+ -m"tag release ${Module} ${Version}" ;
pushd "../plugins";
- svn export \
- "${Server}/tags/${Module}-${Version}" \
- "${Module}-${Version}" ;
- tar --create --bzip2 \
- --file="../SOURCES/${Module}-${Version}.tar.bz2" \
- "${Module}-${Version}" ;
+ svn export \
+ "${Server}/tags/${Module}-${Version}" \
+ "${Module}_${Version}-src" ;
+ tar --create --bzip2 \
+ --file="${Module}_${Version}-src.tar.bz2" \
+ "${Module}_${Version}-src" ;
+ rm --recursive ${Module}_${Version}-src ;
popd;
########################################################### {{{1 ###########