Add net-snmp package
[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.041692 seconds and 5 git commands to generate.