[projects/git-slug: 122/170] trash: fix for pkgs.git argument
glen
glen at pld-linux.org
Mon Sep 21 21:49:04 CEST 2015
commit 9bcf81c151efa80ed726aff2e51e1b17cc3eb1ca
Author: Kacper Kornet <draenog at pld-linux.org>
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
More information about the pld-cvs-commit
mailing list