mirror of
https://src.koozali.org/smeserver/common.git
synced 2024-11-25 13:57:27 +01:00
Delete .gitignore files before creating archive.
This commit is contained in:
parent
31418d3196
commit
954d688485
@ -354,6 +354,7 @@ $(ARCHIVEFILE):
|
|||||||
if [ -d ${CODEDIR} ] ; then cp -R "${CODEDIR}" "${TEMPDIR}/${TREEPATH}" ; fi ; \
|
if [ -d ${CODEDIR} ] ; then cp -R "${CODEDIR}" "${TEMPDIR}/${TREEPATH}" ; fi ; \
|
||||||
if [ -e createlinks ] ; then cp createlinks "${TEMPDIR}/${TREEPATH}/." ; fi ; \
|
if [ -e createlinks ] ; then cp createlinks "${TEMPDIR}/${TREEPATH}/." ; fi ; \
|
||||||
if [ -d additional ] ; then cp -r additional/* "${TEMPDIR}/${TREEPATH}/." ; fi ; \
|
if [ -d additional ] ; then cp -r additional/* "${TEMPDIR}/${TREEPATH}/." ; fi ; \
|
||||||
|
find "${TEMPDIR}/${TREEPATH}/." -type f -name ".gitignore" -delete ; \
|
||||||
rm -f ${ARCHIVEFILE} ;\
|
rm -f ${ARCHIVEFILE} ;\
|
||||||
tar -caf "${ARCHIVEFILE}" -C "${TEMPDIR}" "${TREEPATH}" ;\
|
tar -caf "${ARCHIVEFILE}" -C "${TEMPDIR}" "${TREEPATH}" ;\
|
||||||
ls -l ${ARCHIVEFILE} ;\
|
ls -l ${ARCHIVEFILE} ;\
|
||||||
|
Loading…
Reference in New Issue
Block a user