Author: simons
Date: Wed Mar 21 11:46:12 2012
New Revision: 33324
URL: https://nixos.org/websvn/nix/?rev=33324&sc=1

Log:
pkgs/development/compilers/ghc/with-packages.nix: trivial changes to fix syntax 
highlighting in Emacs

Modified:
   nixpkgs/trunk/pkgs/development/compilers/ghc/with-packages.nix

Modified: nixpkgs/trunk/pkgs/development/compilers/ghc/with-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/development/compilers/ghc/with-packages.nix      Wed Mar 
21 10:47:00 2012        (r33323)
+++ nixpkgs/trunk/pkgs/development/compilers/ghc/with-packages.nix      Wed Mar 
21 11:46:12 2012        (r33324)
@@ -22,7 +22,7 @@
     echo "Linking GHC core libraries:"
 
     echo -n "Linking $originalTopDir "
-    for f in $originalTopDir/*; do
+    for f in "$originalTopDir/"*; do
       if test -f $f; then
         ln -s $f $linkedTopDir
         echo -n .
@@ -31,7 +31,7 @@
     echo
 
     echo -n "Linking $originalPkgDir "
-    for f in $originalPkgDir/*.conf; do
+    for f in "$originalPkgDir/"*.conf; do
       ln -s $f $linkedPkgDir
       echo -n .
     done
@@ -44,11 +44,11 @@
       # Check if current path is a Cabal package for the current GHC
       if test -d $currentPkgDir; then
         echo -n "Linking $currentPath "
-        for f in $currentPath/bin/*; do
+        for f in "$currentPath/bin/"*; do
           ln -s $f $out/bin
           echo -n .
         done
-        for f in $currentPkgDir/*.conf; do
+        for f in "$currentPkgDir/"*.conf; do
           ln -s $f $linkedPkgDir
           echo -n .
         done
_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to