mirror of
https://src.koozali.org/smeserver/common.git
synced 2024-11-24 05:17:28 +01:00
Change option for compressed tar archive creation to "a" so that depends on file extension
This commit is contained in:
parent
93b6199e31
commit
efc2960664
@ -354,7 +354,7 @@ $(ARCHIVEFILE):
|
|||||||
if [ -e createlinks ] ; then cp createlinks "${TEMPDIR}/${TREEPATH}/." ; fi ; \
|
if [ -e createlinks ] ; then cp createlinks "${TEMPDIR}/${TREEPATH}/." ; fi ; \
|
||||||
if [ -d additional ] ; then cp additional/* "${TEMPDIR}/${TREEPATH}/." ; fi ; \
|
if [ -d additional ] ; then cp additional/* "${TEMPDIR}/${TREEPATH}/." ; fi ; \
|
||||||
rm -f ${ARCHIVEFILE} ;\
|
rm -f ${ARCHIVEFILE} ;\
|
||||||
tar -czf "${ARCHIVEFILE}" -C "${TEMPDIR}" "${TREEPATH}" ;\
|
tar -caf "${ARCHIVEFILE}" -C "${TEMPDIR}" "${TREEPATH}" ;\
|
||||||
ls -l ${ARCHIVEFILE} ;\
|
ls -l ${ARCHIVEFILE} ;\
|
||||||
rm -Rf "${TEMPDIR}/${TREEPATH}/"
|
rm -Rf "${TEMPDIR}/${TREEPATH}/"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user