diff --git a/bin/buildDebian.sh b/bin/buildDebian.sh index b78cb53d9..507a60a44 100755 --- a/bin/buildDebian.sh +++ b/bin/buildDebian.sh @@ -17,7 +17,7 @@ rm -rf ${SRC} rsync -a deb-src/ ${SRC}/ mkdir -p ${SYSROOT}/opt/ -rsync -a ../ ${SYSROOT}/opt/etherpad/ --delete +rsync --exclude '.git' -a ../ ${SYSROOT}/opt/etherpad/ --delete find ${SRC}/ -type d -exec chmod 0755 {} \; find ${SRC}/ -type f -exec chmod go-w {} \;