aboutsummaryrefslogtreecommitdiffstats
path: root/src/gitjoe/rmrepo.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gitjoe/rmrepo.pl')
-rwxr-xr-xsrc/gitjoe/rmrepo.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gitjoe/rmrepo.pl b/src/gitjoe/rmrepo.pl
index 632c6f7..d56da96 100755
--- a/src/gitjoe/rmrepo.pl
+++ b/src/gitjoe/rmrepo.pl
@@ -21,9 +21,9 @@ sub main {
}
$repo = $repo . '/';
system(
- '/usr/local/bin/dash',
- '-c',
- '/bin/rm -rfv ' . $home_dir . $repo
+ '/bin/rm',
+ '-rfv',
+ $home_dir . $repo
);
print "Deleted git repository " . colored($repo, 'bold yellow') . " for user " . colored($usr, 'bold') . ".\n";
exit;