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

knut st. osmundsen bird at innotek.de
Sat Jan 20 16:31:38 GMT 2007


Fixed, thanks for pointing it out.

Kind Regards,
  knut

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!"
> 
> 





More information about the vbox-dev mailing list