Skip to content

Single quote character in path name breaks compilation #10

Description

@justinclift

Tim Streater reported on the sqlite-users mailing list:

Warn folks not to have a single-quote (') in their path, it causes
the make of sqlitebrowser to fail. I moved the folder elsewhere and
redid the qmake, make, steps and it completed.

In testing here:

$ mkdir foo\'
$ cd foo\'
$ pwd
/Users/jc/tmp/foo'
$ git clone https://github.com/sqlitebrowser/sqlitebrowser.git
Cloning into 'sqlitebrowser'...
remote: Reusing existing pack: 4556, done.
remote: Counting objects: 19, done.
remote: Compressing objects: 100% (18/18), done.
remote: Total 4575 (delta 7), reused 0 (delta 0)
Receiving objects: 100% (4575/4575), 6.23 MiB | 572 KiB/s, done.
Resolving deltas: 100% (2757/2757), done.
$ cd sqlitebrowser/
$ qmake
$ make
cd libs/antlr-2.7.7/ && /usr/local/bin/qmake /Users/jc/tmp/foo'/sqlitebrowser/libs/antlr-2.7.7/antlr.pro -o Makefile.antlr
/bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of file
make: *** [libs/antlr-2.7.7/Makefile.antlr] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugConfirmed bugs or reports that are very likely to be bugs.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions