diff --git a/Makefile b/Makefile index 26d3d67fd..b6e034da8 100644 --- a/Makefile +++ b/Makefile @@ -53,7 +53,7 @@ linux: config.gypi linux/llmr-app.gyp node # Executes the Linux binary run-linux: linux - build/$(BUILDTYPE)/mapbox-gl + (cd build/$(BUILDTYPE) && ./mapbox-gl) diff --git a/linux/main.cpp b/linux/main.cpp index f796a2351..bee52d901 100644 --- a/linux/main.cpp +++ b/linux/main.cpp @@ -43,7 +43,7 @@ int main(int argc, char *argv[]) { sigaction(SIGINT, &sigIntHandler, NULL); // read default stylesheet from disk - std::ifstream stylefile("./build/Release/style.min.js"); + std::ifstream stylefile("./style.min.js"); std::stringstream stylejson; stylejson << stylefile.rdbuf();