Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

When creating a ports tarball, exclude .git/

  • Loading branch information...
commit 278b8da3b3c2061d559d55c73c6eee79dbc7e55f 1 parent 80f532f
@kmoore134 kmoore134 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  scripts/portbuild.sh
View
2  scripts/portbuild.sh
@@ -191,7 +191,7 @@ do_pcbsd_portmerge()
rc_halt "mkdir ${PROGDIR}/usr"
rc_halt "ln -fs ${PJPORTSDIR} ${PROGDIR}/usr/ports"
echo "Creating ports distfile.. Will take several minutes.."
- rc_halt "tar cLvJf /usr/ports.txz --exclude usr/ports/.portsnap.INDEX --exclude usr/ports/.snap --exclude usr/ports/distfiles -C ${PROGDIR} usr/ports"
+ rc_halt "tar cLvJf /usr/ports.txz --exclude usr/ports/.portsnap.INDEX --exclude usr/ports/.snap --exclude usr/ports/distfiles --exclude usr/ports/.git -C ${PROGDIR} usr/ports"
rc_halt "rm ${PROGDIR}/usr/ports"
rc_halt "rmdir ${PROGDIR}/usr"
}
Please sign in to comment.
Something went wrong with that request. Please try again.