From 5c9484028fc96fdf971169f9501f214d2c760afa Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 15 Feb 2006 12:37:28 +0000 Subject: [PATCH] * Oops, "ls" -> "ls -d". svn path=/nixpkgs/trunk/; revision=4816 --- pkgs/development/interpreters/xulrunner/builder.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/xulrunner/builder.sh b/pkgs/development/interpreters/xulrunner/builder.sh index 0e3d1cca44d..a065580b1c8 100644 --- a/pkgs/development/interpreters/xulrunner/builder.sh +++ b/pkgs/development/interpreters/xulrunner/builder.sh @@ -7,7 +7,7 @@ postInstall() { # This fixes starting Firefox when there already is a running # instance. The `firefox' wrapper script actually expects to be # in the same directory as `run-mozilla.sh', apparently. - libDir=$(cd $out/lib && ls xulrunner-*) + libDir=$(cd $out/lib && ls -d xulrunner-*) test -n "$libDir" cd $out/bin mv xulrunner ../lib/$libDir/