[Frugalware-darcs] pacman-tools: new function: do_record
VMiklos
vmiklos at frugalware.org
Thu Nov 23 14:10:07 CET 2006
Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman-tools;a=darcs_commitdiff;h=20061123130936-e2957-9d4c431002bf5abab15c5574872501cde1c604f7.gz;
[new function: do_record
VMiklos <vmiklos at frugalware.org>**20061123130936] {
hunk ./bumppkg 109
+do_record()
+{
+ source FrugalBuild || die "failed to source the FrugalBuild!"
+ echo -e "`date +"%a %b %d %H:%M:%S %Z %Y"`
+`cat $root/_darcs/prefs/author`
+$pkgname-$pkgver-$pkgrel-$CARCH
+$@" | darcs rec -a --pipe
+}
+
hunk ./bumppkg 120
+. /etc/makepkg.conf
hunk ./bumppkg 127
+if [ "$1" == "--record" ]; then
+ do_record "$2"
+ shift 2
+fi
}
More information about the Frugalware-darcs
mailing list