make sure in DRM toplevel

main
Dave Airlie 2004-03-23 11:17:03 +00:00
parent dfc71cbd42
commit 681da75af9
1 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,11 @@ if [ $# -lt 2 ] ;then
exit 1
fi
if [ ! -d shared -o ! -d linux ] ;then
echo not in DRM toplevel
exit 1
fi
OUTDIR=$1/drivers/char/drm/
VERS=$2