From 681da75af9837fd433d4773c86df52de1c8dba60 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 23 Mar 2004 11:17:03 +0000 Subject: make sure in DRM toplevel --- scripts/create_lk_drm.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts') diff --git a/scripts/create_lk_drm.sh b/scripts/create_lk_drm.sh index ad709c1c..ce7c460b 100755 --- a/scripts/create_lk_drm.sh +++ b/scripts/create_lk_drm.sh @@ -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 -- cgit v1.2.3