diff --git a/abuild.in b/abuild.in index 87e121c403b36cac113219f2bac9bcff5b78d84e..6dba0c5e4c96f103b998ca89c407b20ab8dcc3d6 100644 --- a/abuild.in +++ b/abuild.in @@ -806,7 +806,6 @@ postcheck() { for i in bin sbin lib; do if [ -L "$dir"/$i ] || [ -e "$dir"/$i ]; then warning "Packages must not put anything under /$i, use /usr/${i##*s} instead" - e=1 fi done fi diff --git a/tests/abuild_test b/tests/abuild_test index ee4d8ff488b6c5e6e38185832084eed6b296a474..a26dfb442ad82184eac880f2f584869690493dcb 100755 --- a/tests/abuild_test +++ b/tests/abuild_test @@ -1304,10 +1304,9 @@ abuild_usr_merge_body() { "\$pkgdir"/sbin } EOF - atf_check -s exit:1 \ + atf_check -s exit:0 \ -e match:"WARNING:.*: Packages must not put anything under /lib, use /usr/lib instead" \ -e match:"WARNING:.*: Packages must not put anything under /bin, use /usr/bin instead" \ -e match:"WARNING:.*: Packages must not put anything under /sbin, use /usr/bin instead" \ abuild } -