Permalink
Browse files

Make the test suite work without rebuilding file(1).

  • Loading branch information...
1 parent b75ffde commit 769fa285e3a0b4abbd0b00d0b520f83c7ca511dc @SaltwaterC committed May 4, 2012
Showing with 3 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +1 −0 .npmignore
  3. +1 −1 tools/build.sh
View
@@ -3,4 +3,5 @@
src/
bin/file
bin/.libs/
+lib/libmagic.so
*.komodoproject
View
@@ -3,4 +3,5 @@
src/
bin/file
bin/.libs/
+lib/libmagic.so
*.komodoproject
View
@@ -8,7 +8,7 @@ then
echo "file(1) is not installed"
build_file=1
else
- installed_file_version=`LD_LIBRARY_PATH bin/file -v | grep -Eo "[0-9]\.[0-9]+"`
+ installed_file_version=`LD_LIBRARY_PATH=lib bin/file -v | grep -Eo "[0-9]\.[0-9]+"`
echo "file(1) $installed_file_version is installed, expecting $file_version"
if [ "$installed_file_version" != "$file_version" ]
then

0 comments on commit 769fa28

Please sign in to comment.