add kernel 2.6 patch, from tuxap with changes for new kernel 2.6
[openwrt.git] / scripts / make-ipkg-dir.sh
1 #!/bin/bash
2 TARGET=$1
3 CONTROL=$2
4 VERSION=$3
5 ARCH=$4
6
7 mkdir -p "$TARGET/CONTROL"
8 grep '^[^(Version|Architecture)]' "$CONTROL" > "$TARGET/CONTROL/control"
9 echo "Version: $VERSION" >> "$TARGET/CONTROL/control"
10 echo "Architecture: $ARCH" >> "$TARGET/CONTROL/control"
11 chmod 644 "$TARGET/CONTROL/control"
This page took 0.047898 seconds and 5 git commands to generate.