Skip to content

Commit

Permalink
When creating a ports tarball, exclude .git/
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Moore committed Nov 20, 2013
1 parent 80f532f commit 278b8da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/portbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit 278b8da

Please sign in to comment.