summaryrefslogtreecommitdiffstats
path: root/update_srcinfo.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update_srcinfo.sh')
-rwxr-xr-xupdate_srcinfo.sh9
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
3DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
4
5echo Updating .SRCINFO
6
7cd "$DIR"
8makepkg --printsrcinfo > .SRCINFO
9git add .SRCINFO