gitolite/contrib/adc/rmrepo

12 lines
198 B
Plaintext
Raw Normal View History

#!/bin/bash
. $(dirname $0)/adc.common-functions
delete=$1
get_rights_and_owner $delete
[[ $owner == $GL_USER ]] || die "$delete is not yours to delete!"
cd $GL_REPO_BASE_ABS
rm -rf $delete.git