From 3b9534f7d814091a40c91f4823bd3c6f9696fefc Mon Sep 17 00:00:00 2001 From: rhatto Date: Mon, 1 Dec 2008 16:00:17 +0000 Subject: adding mkbuild commit features git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@616 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/createpkg | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'trunk/src/createpkg') diff --git a/trunk/src/createpkg b/trunk/src/createpkg index 296a5fa..41d860e 100644 --- a/trunk/src/createpkg +++ b/trunk/src/createpkg @@ -298,33 +298,6 @@ function repository_status { } -function commit_changes { - - # usage: commit_changes - - local repos="$1" tmpfile - shift - - if [ -d "$repos/.svn" ]; then - cwd="`pwd`" - chown_svn $repos && chgrp_svn $repos - cd $repos - if [ ! -z "$1" ]; then - if tmpfile=`mktemp -t createpkg_commit.XXXXXX`; then - echo $* > $tmpfile - su_svn commit -F $tmpfile - rm -f $tmpfile - else - su_svn commit - fi - else - su_svn commit - fi - cd $cwd - fi - -} - function create_repo_folder { # Create repository directory -- cgit v1.2.3