skip test on fedory and friends
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=312
This commit is contained in:
parent
77f5fcdca4
commit
c28d669659
@ -156,6 +156,10 @@ if [ `whoami` != "root" ]; then
|
||||
echo "WARNING: Not building as root, tests did not run!"
|
||||
exit 0
|
||||
fi
|
||||
if [ ! -f "$RPM_BUILD_ROOT/usr/lib/build/configs/default.conf" ]; then
|
||||
echo "WARNING: No default config, tests did not run!"
|
||||
exit 0
|
||||
fi
|
||||
# get back the default.conf link
|
||||
cp -av $RPM_BUILD_ROOT/usr/lib/build/configs/default.conf configs/
|
||||
# do not get confused when building this already with build:
|
||||
|
Loading…
Reference in New Issue
Block a user