[vbox-dev] Erroneous "Error: VBox base path contains invalid characters!"

Frank Mehnert frank at innotek.de
Sat Jan 20 16:38:02 GMT 2007


Hi Georgi,

On Saturday 20 January 2007 17:03, Georgi Georgiev wrote:
> I got the "Error: VBox base path contains invalid characters!" message
> which apparently was erroneously triggered by hyphens in the path.
>
> According grep(1)
>
>   Finally, to include a literal - place it last.
>
> but the hyphen in the grep expression is not last in the configure
> script of virtualbox.
>
> The following patch fixes the problem:
>
> --- configure   2007-01-21 00:59:12.000000000 +0900
> +++ configure   2007-01-21 00:47:00.000000000 +0900
> @@ -65,7 +65,7 @@
>  ENV="env.sh"
>  BUILD_TYPE="release"
>  ## todo: These are the chars that ar can deal with in mri mode:
> [A-Za-z0-9/\\$:.\-\_] -INVALID_CHARS="[^A-Za-z0-9/\\$:.\-_]"
> +INVALID_CHARS="[^A-Za-z0-9/\\$:._-]"
>
>  if (cd $(dirname $0); pwd)|grep -q "$INVALID_CHARS"; then
>    echo "Error: VBox base path contains invalid characters!"

Thx for that report! Fixed.

Kind regards,

Frank
-- 
## InnoTek Systemberatung GmbH, http://www.innotek.de ##
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20070120/6f0254e8/attachment.sig>


More information about the vbox-dev mailing list