Project

General

Profile

Statistics
| Revision:

root / trunk / build_component.sh @ 74

History | View | Annotate | Download (988 Bytes)

1
#!/bin/sh
2
# ----------------------------------------------------------------------------
3
#
4
# Component Install Archive Builder
5
#
6
# This file is part of eXtplorer
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/extplorer'
15
cd $PATH
16

    
17
/usr/local/lib/p7zip/7za a -tzip -r $PATH/scripts.zip scripts
18
/usr/local/lib/p7zip/7za d -r $PATH/scripts.zip .svn/
19

    
20
/usr/local/lib/p7zip/7za a -tzip -r $PATH/com_extplorer.zip
21
/usr/local/lib/p7zip/7za d -r $PATH/com_extplorer.zip .svn/
22
/usr/local/lib/p7zip/7za d $PATH/com_extplorer.zip scripts/
23

    
24
/usr/local/lib/p7zip/7za d -r $PATH/com_extplorer.zip build_component.sh build_component.bat .project .projectOptions .cache preinstall.php README_PREINSTALL.txt
25

    
26
/bin/rm $PATH/scripts.zip