Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Exclude the .git directory for port building
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Moore committed May 18, 2015
1 parent 6f9b19d commit 4a923a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkports.sh
Expand Up @@ -99,7 +99,7 @@ do
# Make the dist files
rm ${distdir}/${dfile}-* 2>/dev/null
echo "Creating $tdir dist file for version: $REV"
tar cvJf ${distdir}/${dfile}-${REV}.tar.xz $tOps 2>/dev/null >/dev/null
tar cvJf ${distdir}/${dfile}-${REV}.tar.xz --exclude .git $tOps 2>/dev/null >/dev/null
if [ $? -ne 0 ] ; then
echo "Error creating distfile..."
exit 1
Expand Down

0 comments on commit 4a923a5

Please sign in to comment.