summaryrefslogtreecommitdiffstats
path: root/kernel/scripts/CopyRep
blob: 8eed8c201d95c720881a9dae2b8b0e87b380ec10 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
# Copies the repository files to the working kernel directory
# This is used on a freshly untarred kernel

export FROM=/ebtables-cvs/ebtables2/
export TO=/usr/src/linux

mkdir -p $FROM/linux/net/bridge/netfilter
mkdir -p $FROM/linux/include/netfilter_bridge
cp -r -f $FROM/br-nf-bds/linux/* $TO/
cp -r -f $FROM/kernel/linux/* $TO/