driver-abi-rebuild: bail out if target directory already exists
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
cd9fdcb079
commit
2423094597
@ -3,8 +3,15 @@
|
||||
# Trivial script to rebuild drivers for ABI changes in the server
|
||||
# Run me after a new xserver has hit the buildroot
|
||||
|
||||
mkdir -p abi-rebuild
|
||||
pushd abi-rebuild
|
||||
builddir="abi-rebuild"
|
||||
|
||||
if [ -e "$builddir" ]; then
|
||||
echo "Path '$builddir' exists. Move out of the way first"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mkdir -p $builddir
|
||||
pushd $builddir
|
||||
|
||||
fedpkg co xorg-x11-drivers
|
||||
pushd xorg-x11-drivers
|
||||
|
Loading…
Reference in New Issue
Block a user