19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
cp -Lr ${MY_DIR}/src ${TMPDIR}/garradin-${VERSION} > /dev/null
cd ${TMPDIR}
mkdir ${TMPDIR}/garradin-${VERSION}/www/squelettes
tar cjvf "${MY_PATH}/garradin-${VERSION}.tar.bz2" --wildcards-match-slash \
--exclude-vcs \
--exclude '*/cache/compiled/*' \
--exclude '*/cache/static/*' \
--exclude 'www/squelettes/*' \
--exclude 'www/elements' \
--exclude '*.sqlite' \
--exclude 'include/*/README' \
--exclude 'include/*/COPYING' \
--exclude '*.log' \
--exclude 'plugins/*.gz' \
--exclude 'config.local.php' \
garradin-${VERSION}
rm -rf ${TMPDIR}
|
>
|
<
<
|
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
cp -Lr ${MY_DIR}/src ${TMPDIR}/garradin-${VERSION} > /dev/null
cd ${TMPDIR}
mkdir ${TMPDIR}/garradin-${VERSION}/www/squelettes
tar cjvf "${MY_PATH}/garradin-${VERSION}.tar.bz2" --wildcards-match-slash \
--numeric-owner --owner=0 --group=0 \
--exclude-vcs \
--exclude '*/cache/compiled/*.php' \
--exclude '*/cache/static/*' \
--exclude 'www/squelettes/*' \
--exclude 'www/elements' \
--exclude '*.sqlite' \
--exclude '*.log' \
--exclude 'plugins/*.gz' \
--exclude 'config.local.php' \
garradin-${VERSION}
rm -rf ${TMPDIR}
|