Skip to content

Commit

Permalink
Make the test suite work without rebuilding file(1).
Browse files Browse the repository at this point in the history
  • Loading branch information
SaltwaterC committed May 4, 2012
1 parent b75ffde commit 769fa28
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -3,4 +3,5 @@
src/
bin/file
bin/.libs/
lib/libmagic.so
*.komodoproject
1 change: 1 addition & 0 deletions .npmignore
Expand Up @@ -3,4 +3,5 @@
src/
bin/file
bin/.libs/
lib/libmagic.so
*.komodoproject
2 changes: 1 addition & 1 deletion tools/build.sh
Expand Up @@ -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
Expand Down

0 comments on commit 769fa28

Please sign in to comment.