[ghc] ghc-doc-index: drop bash-ism (#1146733)

Jens Petersen petersen at fedoraproject.org
Mon Sep 29 04:36:01 UTC 2014


commit 597b182ead667a6e13da7da74e05c576382ab809
Author: Jens Petersen <petersen at redhat.com>
Date:   Mon Sep 29 13:35:40 2014 +0900

    ghc-doc-index: drop bash-ism (#1146733)

 ghc-doc-index |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/ghc-doc-index b/ghc-doc-index
index 6105d7e..a0223fa 100755
--- a/ghc-doc-index
+++ b/ghc-doc-index
@@ -34,5 +34,5 @@ if [ -x "gen_contents_index" -a ! -r "$PKGDIRCACHE.new" -o -n "$DIR_DIFF" ]; the
 fi
 
 if [ -f $PKGDIRCACHE.new ]; then
-  mv -f $PKGDIRCACHE{.new,}
+  mv -f $PKGDIRCACHE.new $PKGDIRCACHE
 fi


More information about the scm-commits mailing list