summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-12-03 14:57:40 +0100
committerThomas Haller <thaller@redhat.com>2014-12-03 15:01:12 +0100
commit09130c5693083b66df71882bd753b46a529a47ff (patch)
treea9ee58f3179c32b491fb7df5b3538c7b2ecf6579
parent1a4259d23af7f645f9bc78725e88506564961090 (diff)
downloadNetworkManager-09130c5693083b66df71882bd753b46a529a47ff.tar.gz
contrib/rpm: ignore libgsystem/ repository in build_clean.sh
-rwxr-xr-xcontrib/fedora/rpm/build_clean.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fedora/rpm/build_clean.sh b/contrib/fedora/rpm/build_clean.sh
index c624d2a1d5..a0d1c1f98a 100755
--- a/contrib/fedora/rpm/build_clean.sh
+++ b/contrib/fedora/rpm/build_clean.sh
@@ -65,7 +65,7 @@ if [[ $IGNORE_DIRTY != 1 ]]; then
# check for a clean working directory.
# We ignore the /contrib directory, because this is where the automation
# scripts and the build results will be.
- if [[ "x$(LANG=C git clean -ndx | grep '^Would remove contrib/.*$' -v)" != x ]]; then
+ if [[ "x$(LANG=C git clean -ndx | grep '^Would \(remove contrib/\|skip repository libgsystem/\).*$' -v)" != x ]]; then
die "The working directory is not clean. Refuse to run. Try \`$0 --force\`, \`$0 --clean\`, or \`git clean -e :/contrib -dx -n\`"
fi
if [[ "x$(git status --porcelain)" != x ]]; then