iglunix/scripts/updatever.sh
2021-07-31 11:58:05 +00:00

5 lines
132 B
Bash
Executable file

#!/bin/sh
NVER=$(./repover.sh $1)
TMP=$(mktemp)
sed 's/pkgver=.*/pkgver='$NVER'/g' pkgs/$1/build.sh > $TMP
mv $TMP pkgs/$1/build.sh