diff options
Diffstat (limited to 'update_srcinfo.sh')
-rwxr-xr-x | update_srcinfo.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/update_srcinfo.sh b/update_srcinfo.sh new file mode 100755 index 0000000..d34ac7d --- /dev/null +++ b/update_srcinfo.sh | |||
@@ -0,0 +1,9 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | ||
4 | |||
5 | echo Updating .SRCINFO | ||
6 | |||
7 | cd "$DIR" | ||
8 | makepkg --printsrcinfo > .SRCINFO | ||
9 | git add .SRCINFO | ||