805050a129
Note: "able" still needs bash but it's an easy fix if you need to use it on a bash-challenged machine and care enough
12 lines
197 B
Bash
Executable file
12 lines
197 B
Bash
Executable file
#!/bin/sh
|
|
|
|
. $(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
|