mirror of
https://src.koozali.org/smeserver/common.git
synced 2024-11-22 00:17:28 +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 [ -e createlinks ] ; then cp createlinks "${TEMPDIR}/${TREEPATH}/." ; fi ; \
|
||||
if [ -d additional ] ; then cp -r additional/* "${TEMPDIR}/${TREEPATH}/." ; fi ; \
|
||||
find "${TEMPDIR}/${TREEPATH}/." -type f -name ".gitignore" -delete ; \
|
||||
rm -f ${ARCHIVEFILE} ;\
|
||||
tar -caf "${ARCHIVEFILE}" -C "${TEMPDIR}" "${TREEPATH}" ;\
|
||||
ls -l ${ARCHIVEFILE} ;\
|
||||
|
Loading…
Reference in New Issue
Block a user