]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
createpkg: adding folder prefix at commit message
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 11 Dec 2008 16:49:00 +0000 (16:49 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 11 Dec 2008 16:49:00 +0000 (16:49 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@648 04377dda-e619-0410-9926-eae83683ac58

trunk/src/createpkg

index e5c8edf6ddd432261a203c3042d8f168c5080d04..c2d799afa5c76ce5cac49587cc481526cfe7bcdd 100644 (file)
@@ -28,8 +28,6 @@
 #               Createpkg functions
 #---------------------------------------------------
 
-CREATEPKG_VERSION="1.1.15"
-
 function usage {
 
   # Help message
@@ -536,9 +534,9 @@ case $1 in
   ;;
   '--commit')
     shift
-    commit_changes $MAKEPKG_REPOS $*
+    commit_changes $MAKEPKG_REPOS "`basename $MAKEPKG_REPOS:`" $*
     if [ $MAKEPKG_REPOS_NOARCH -eq $on ]; then
-      commit_changes $NOARCH_REPOS $*
+      commit_changes "noarch:" $NOARCH_REPOS $*
     fi
     exit $EXIT_CODE
   ;;