forked from pool/build
skip test on fedory and friends
Rev openSUSE:Tools/312 Md5 3caac58ddf1b1974941c6c77b659f160 2017-07-19 18:06:21 adrianSuSE None
This commit is contained in:
parent
847242488f
commit
0ab8bf8d09
@ -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