[vbox-dev] Erroneous "Error: VBox base path contains invalid characters!"
Georgi Georgiev
chutz at gg3.net
Sat Jan 20 08:03:07 PST 2007
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!"
--
\ Georgi Georgiev \ Blossom: Here I am. Did I miss anything? \
/ chutz at gg3.net / Oh, look! Bad guys! Stand back, girls! /
More information about the vbox-dev
mailing list