Opened 18 years ago

Last modified 18 years ago

#931 closed bug

Installing MIME database produces weird output (but works) on Ubuntu 6.10 — at Version 4

Reported by: jackburton Owned by: bonefish
Priority: low Milestone: R1
Component: Build System Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by jackburton)

The step "Installing MIME database" of haiku build produces some weird output on Ubuntu Edgy Eft.

This is the error message: build/scripts/build_haiku_image: 120: +: not found build/scripts/build_haiku_image: 120: +: not found Entry `generated/tmp/mime/mimedb18750_0.mime' is a directory. Command failed: Is a directory Command was:

cp :generated/tmp/mime/mimedb18750_0.mime

/myfs/home/config/settings/beos_mime/application/msword build/scripts/build_haiku_image: 120: +: not found resource(1, "META:TYPE") "application/msword"; resource(1, "META:TYPE") "application/ogg"; Entry `generated/tmp/mime/mimedb18750_0.mime' is a directory. Command failed: Is a directory Command was:

cp :generated/tmp/mime/mimedb18750_0.mime

/myfs/home/config/settings/beos_mime/application/ogg

I think it could depend on the bash version. stefano@shiryu:~/haiku/haiku$ bash --version GNU bash, version 3.1.17(1)-release (i486-pc-linux-gnu) Copyright (C) 2005 Free Software Foundation, Inc.

Change History (4)

comment:1 by jackburton, 18 years ago

The following patch fixes the problem. I won't commit it because I'm not sure it works on previous bash versions.

comment:2 by axeld, 18 years ago

Out of curiosity, what does (( ... )) do? :-)

in reply to:  2 comment:3 by jackburton, 18 years ago

Replying to axeld:

Out of curiosity, what does (( ... )) do? :-)

Absolutely nothing :( In fact I just noticed this doesn't fix my problem. I just searched around for the specific problem and somewhere I read that for math operations you should use (( )). But as I said, this doesn't fix my problem.

comment:4 by jackburton, 18 years ago

Description: modified (diff)
Priority: normallow
Summary: Installing MIME database fails on Ubuntu Edgy EftInstalling MIME database produces weird output (but works) on Ubuntu 6.10
Note: See TracTickets for help on using tickets.