Project

General

Profile

Statistics
| Revision:

root / tags / joomlaxplorer-1.6.1-released / build_component.sh @ 41

History | View | Annotate | Download (855 Bytes)

1
#!/bin/sh
2
# ----------------------------------------------------------------------------
3
#
4
# Component Install Archive Builder
5
#
6
# This file is part of joomlaXplorer
7
#
8
# ----------------------------------------------------------------------------
9

    
10
# YOU MUST HAVE INSTALLED THE 4.x BETA VERSION OF p7zip (the command line version of 7-Zip for Unix/Linux).
11
# It's usually globally accessible (in the directory /usr/local/bin/)
12

    
13
DATE=$(date +%Y%m%d)
14
PATH='/home/soeren/Joomla/components/joomlaxplorer_1.x'
15
cd $PATH
16
/usr/local/lib/p7zip/7za a -ttar -r $PATH/com_joomlaxplorer.tar
17
/usr/local/lib/p7zip/7za d -r $PATH/com_joomlaxplorer.tar .svn/
18

    
19
/usr/local/lib/p7zip/7za d -r $PATH/com_joomlaxplorer.tar build_component.sh
20
/usr/local/lib/p7zip/7za a -tgzip $PATH/com_joomlaxplorer_$DATE.tar.gz $PATH/com_joomlaxplorer.tar
21

    
22
/bin/rm $PATH/com_joomlaxplorer.tar