File: 23-remove-invalid-chars-check.patch

package info (click to toggle)
virtualbox 7.2.2-dfsg-2
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 616,072 kB
  • sloc: cpp: 2,377,613; ansic: 2,351,258; asm: 379,359; python: 233,965; xml: 89,678; sh: 25,697; makefile: 8,169; perl: 5,697; java: 5,337; cs: 4,872; pascal: 1,785; javascript: 1,692; objc: 1,131; lex: 931; sed: 921; php: 906; yacc: 707
file content (18 lines) | stat: -rw-r--r-- 572 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Remove check for invalid characters in the build path since we have fixed
 kBuild to handle those paths starting from version 1:0.1.98svn2318-7.
Author: Felix Geyer <fgeyer@debian.org>

--- a/configure
+++ b/configure
@@ -204,11 +204,6 @@ BUILD_TYPE="release"
 # 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
-
 # Posix /bin/sh isn't supporting echo -n. Use printf instead.
 ECHO_N="printf"