aboutsummaryrefslogtreecommitdiff
path: root/src/util/git-rm-thorn.pl
diff options
context:
space:
mode:
authoreschnett <eschnett@83718e91-0e4f-0410-abf4-91180603181f>2011-01-26 21:59:53 +0000
committereschnett <eschnett@83718e91-0e4f-0410-abf4-91180603181f>2011-01-26 21:59:53 +0000
commit45cd36d843be959ccf5996c71510a5d9bd09a334 (patch)
tree93a8d4ee7feabacbc7584ecee893338a87e49178 /src/util/git-rm-thorn.pl
parentc9841c474603a69eaaea629e8609b36d5469b4b4 (diff)
Improve error output
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@201 83718e91-0e4f-0410-abf4-91180603181f
Diffstat (limited to 'src/util/git-rm-thorn.pl')
-rwxr-xr-xsrc/util/git-rm-thorn.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/git-rm-thorn.pl b/src/util/git-rm-thorn.pl
index 75769f1..b34692c 100755
--- a/src/util/git-rm-thorn.pl
+++ b/src/util/git-rm-thorn.pl
@@ -29,9 +29,9 @@ $ENV{'GIT_DIR'} = "$git_repo/.git";
# git aborts after the first error
for my $file (@files) {
- print "Executing: $git_cmd rm --cached -r $file 2> /dev/null\n"
+ print "Executing: $git_cmd rm --cached -r '$file' 2> /dev/null\n"
unless $silent;
- system "$git_cmd rm --cached -r $file > /dev/null 2>&1";
+ system "$git_cmd rm --cached -r '$file' > /dev/null 2>&1";
# Ignore errors
#if ($?) {
# die "Could not remove thorn $thorn from git repository";