Skip to content

Commit

Permalink
Fix source tarballs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael R Sweet committed May 2, 2019
1 parent 45b2ced commit 6fcbda5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.git* export-ignore
.mailmap export-ignore
tools export-ignore
scripts export-ignore
6 changes: 3 additions & 3 deletions scripts/makesrcdist
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
TMPDIR="${TMPDIR:=/tmp}"

# Make sure we are running in the right directory...
if test ! -f tools/makesrcdist; then
if test ! -f scripts/makesrcdist; then
echo "Run this script from the top-level CUPS source directory, e.g.:"
echo ""
echo " tools/makesrcdist $*"
echo " scripts/makesrcdist $*"
echo ""
exit 1
fi

# See if we have local changes (other than this script...)
if (git status | grep -v makesrcdist | grep -v testrpm | grep -q modified:); then
if (git status | grep -v makesrcdist | grep -v makerpm | grep -q modified:); then
echo Local changes remain:
git status | grep -v makesrcdist | grep modified:
exit 1
Expand Down

0 comments on commit 6fcbda5

Please sign in to comment.