diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-10-25 11:20:48 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-10-25 11:36:28 -0400 |
commit | b58fb33482bdce19163eb23ea79bb1a2f74b1719 (patch) | |
tree | 0bd9932e3999870f9dbe363db8f280cb3f788821 /checkpkg.in | |
parent | f743f58682d47fba5366c910d6179851e1f9483e (diff) | |
download | devtools-b58fb33482bdce19163eb23ea79bb1a2f74b1719.tar.xz |
checkpkg: mask errors from lib-provides
bsdtar doesn't consider it an error when your --include doesn't match
anything in the archive, so we're forced to dump stderr to /dev/null
here.
Fixes: https://bugs.archlinux.org/task/42551
Diffstat (limited to 'checkpkg.in')
-rw-r--r-- | checkpkg.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/checkpkg.in b/checkpkg.in index 6ba04ed..467ac74 100644 --- a/checkpkg.in +++ b/checkpkg.in @@ -63,8 +63,8 @@ for _pkgname in "${pkgname[@]}"; do sdiff -s "$TEMPDIR/filelist-$_pkgname-old" "$TEMPDIR/filelist-$_pkgname" - find-libprovides "$TEMPDIR/$oldpkg" | sort > "$TEMPDIR/libraries-$_pkgname-old" - find-libprovides "$pkgfile" | sort > "$TEMPDIR/libraries-$_pkgname" + find-libprovides "$TEMPDIR/$oldpkg" 2>/dev/null | sort > "$TEMPDIR/libraries-$_pkgname-old" + find-libprovides "$pkgfile" 2>/dev/null | sort > "$TEMPDIR/libraries-$_pkgname" if ! diff_output="$(sdiff -s "$TEMPDIR/libraries-$_pkgname-old" "$TEMPDIR/libraries-$_pkgname")"; then msg "Sonames differ in $_pkgname!" echo "$diff_output" |