]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
Fixed rootfile commit function.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 21 Jan 2009 20:56:56 +0000 (21:56 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 21 Jan 2009 20:56:56 +0000 (21:56 +0100)
tools/make-rootfiles

index 902ce612ba2b737d460219af780a7fae685b6fe5..249bdbe5bdc7c93494e2a2b52f93fe7161175c13 100644 (file)
@@ -78,8 +78,10 @@ rootfiles_check() {
 }
 
 rootfiles_commit() {
-       rootfiles_check
-       git_commit -m "Rootfile update." $ROOTFILES_DIR
+       TEMPFILE=$(mktemp)
+       echo "Rootfile update" > $TEMPFILE
+       git_commit -F $TEMPFILE src/rootfiles
+       rm -f $TEMPFILE
 }
 
 rootfiles_copy() {