File:  [DVB] / dvb-kernel / makelinks
Revision 1.1: download - view: text, annotated - select for diffs
Wed Oct 16 19:16:35 2002 UTC (21 years, 8 months ago) by holger
Branches: MAIN
CVS tags: dvb-patchset-2-5, HEAD, DVB-PATCHSET-2-5
the magic merger script

#!/bin/sh


if test -z $1 || ! test -d $1 ; then
	echo
	echo "  usage: $0 <path_to_kernel_to_patch>"
	echo
	exit 
fi

echo "patching $1..."

cd linux
PWD=`pwd`

for x in `find drivers -type d | grep -v CVS` ; do
	mkdir -p -v $1/$x 
done

for x in `find drivers -type f | grep -v CVS | grep -v .cvsignore` ; do
	ln -v -f -s $PWD/$x $1/$x
done


LinuxTV legacy CVS <linuxtv.org/cvs>