diff options
author | eschnett <eschnett@83718e91-0e4f-0410-abf4-91180603181f> | 2010-12-09 16:19:34 +0000 |
---|---|---|
committer | eschnett <eschnett@83718e91-0e4f-0410-abf4-91180603181f> | 2010-12-09 16:19:34 +0000 |
commit | 3b256f8098c70f5aff9a4cdbb9cfc226905f8127 (patch) | |
tree | dfc8e67fdc4f71afa2939b2ccb73cc2636d67520 | |
parent | a089f4e2230f5b58c8c2b4bcebaaba9ac40bf5eb (diff) |
Improve error message
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@196 83718e91-0e4f-0410-abf4-91180603181f
-rwxr-xr-x | src/util/git-add-thorn.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/git-add-thorn.pl b/src/util/git-add-thorn.pl index 9c83a33..98c7760 100755 --- a/src/util/git-add-thorn.pl +++ b/src/util/git-add-thorn.pl @@ -47,7 +47,8 @@ for my $file (@files) { $dir = '.'; } mkpath "$dstdir/$dir"; # ignore errors - link "$srcdir/$file", "$dstdir/$file" or die; + link "$srcdir/$file", "$dstdir/$file" or + die "ERROR: Cannot create hard link from \"$srcdir/$file\" to \"$dstdir/$file\""; } print "Executing: cd $dstdir && $git_cmd add @files\n" unless $silent; |