aboutsummaryrefslogtreecommitdiffstats
path: root/pkg_add.sh
blob: 9c26baa8cf1ea2ab2d36e94e6f5c844af18a6c34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

PKG_FILE="packages.v2.tsv"
LINE="$1\t$2\t$3\t$4\t$5\t$6\n"
COMMIT="Add package $1 to the index"

printf "$LINE" >> $PKG_FILE
sort $PKG_FILE -o $PKG_FILE
make
git commit -m "$COMMIT" packages.*