Project

General

Profile

Revision 142 trunk/build_component.sh

View differences:

build_component.sh
1
#!/bin/sh
1
#!/bin/bash
2 2
# ----------------------------------------------------------------------------
3 3
#
4 4
# Component Install Archive Builder
......
13 13
DATE=$(date +%Y%m%d)
14 14
PATH='/home/soeren/Joomla/components/extplorer'
15 15
cd $PATH
16
SEVENZIP='/usr/bin/7za'
17
$SEVENZIP a -ttar -r $PATH/scripts.tar scripts
18
$SEVENZIP d -r $PATH/scripts.tar .svn/
19
$SEVENZIP a -tgzip $PATH/scripts.tar.gz $PATH/scripts.tar
20
/bin/rm $PATH/scripts.tar
16 21

  
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/
22
$SEVENZIP a -tzip -r $PATH/com_extplorer.zip
23
$SEVENZIP d -r $PATH/com_extplorer.zip .svn/
24
$SEVENZIP d $PATH/com_extplorer.zip archive/ scripts/
19 25

  
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 archive
23
/usr/local/lib/p7zip/7za d $PATH/com_extplorer.zip scripts/
26
$SEVENZIP d -r $PATH/com_extplorer.zip build_component.sh build_component.bat .project .projectOptions .cache preinstall.php README_PREINSTALL.txt
24 27

  
25
/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
26

  
27
/bin/rm $PATH/scripts.zip
28
/bin/rm $PATH/scripts.tar.gz

Also available in: Unified diff