summaryrefslogtreecommitdiff
path: root/debian/patches/23-remove-invalid-chars-check.patch
blob: 7447036cea0b7f85aa00d5fe1a29a818958d4d7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Remove check for invalid characters in the build path since we have fixed
 kBuild to handle those pathes starting from version 1:0.1.98svn2318-7.
Author: Felix Geyer <fgeyer@debian.org>

Index: virtualbox/configure
===================================================================
--- virtualbox.orig/configure	2013-11-19 04:36:42.817631012 -0500
+++ virtualbox/configure	2013-11-19 04:36:42.813631012 -0500
@@ -168,11 +168,6 @@
 # the restricting tool is ar (mri mode).
 INVALID_CHARS="[^A-Za-z0-9/\\$:._-]"
 
-if (cd `dirname $0`; pwd)|grep -q "$INVALID_CHARS"; then
-  echo "Error: VBox base path contains invalid characters!"
-  exit 1
-fi
-
 # darwin /bin/sh has a builtin echo that doesn't grok -n. gotta love it.
 if [ "$OS" = "darwin" ]; then
   ECHO_N="/bin/echo -n"