commit 9bcf81c151efa80ed726aff2e51e1b17cc3eb1ca
Author: Kacper Kornet <[email protected]>
Date:   Tue Jun 26 20:09:15 2012 +0100

    trash: fix for pkgs.git argument

 adc/trash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adc/trash b/adc/trash
index 0c7a91f..5fdcde8 100755
--- a/adc/trash
+++ b/adc/trash
@@ -15,7 +15,7 @@ get_rights_and_owner gitolite-admin
 ATTIC_SUFFIX=`date +%Y-%m-%d_%H:%M:%S`
 EMPTYSHA1='0000000000000000000000000000000000000000'
 
-repo=$1
+repo="${1%.git}"
 repofull=$GL_REPO_BASE_ABS/packages/$repo.git
 
 [ -d $repofull ] || die "Error: repository $repofull doesn't exist"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/git-slug.git/commitdiff/4ed64f73960519a2f4fd04c42950b2c96ae795c5

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to