[pkg-haskell-tools] 01/03: debian2dsc: Avoid pointless mv at the end
Joachim Breitner
nomeata at moszumanska.debian.org
Fri Aug 28 21:11:23 UTC 2015
This is an automated email from the git hooks/post-receive script.
nomeata pushed a commit to branch master
in repository pkg-haskell-tools.
commit 21e2e8da2f91be3802f2fb09fb47ac48070e7b01
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Fri Aug 21 15:46:24 2015 +0200
debian2dsc: Avoid pointless mv at the end
---
scripts/debian2dsc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/debian2dsc b/scripts/debian2dsc
index 24cdb1d..8576042 100755
--- a/scripts/debian2dsc
+++ b/scripts/debian2dsc
@@ -150,7 +150,7 @@ do
DSC=${PACKAGE}_${VERSION}.dsc
if [ -e $DSC ]
then
- mv $DSC "$dest/$DSC"
+ test "$dest" = "." || mv $DSC "$dest/$DSC"
echo "Successfully created $DSC."
else
echo "Failed to create $DSC."
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/pkg-haskell-tools.git
More information about the Pkg-haskell-commits
mailing list