Browse Source

CLI: fix localdir option

pull/1005/head
jfrey 7 years ago
parent
commit
9f8d4ff0ca
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/asset.cpp

+ 1
- 2
src/asset.cpp View File

@@ -19,7 +19,6 @@
#include <pwd.h> #include <pwd.h>
#endif #endif



namespace rack { namespace rack {




@@ -63,7 +62,7 @@ void assetInit(bool devMode, std::string customGlobalDir, std::string customLoca
globalDir = customGlobalDir; globalDir = customGlobalDir;
} }


if (customGlobalDir.empty()) {
if (customLocalDir.empty()) {
#if ARCH_MAC #if ARCH_MAC
// Get home directory // Get home directory
struct passwd *pw = getpwuid(getuid()); struct passwd *pw = getpwuid(getuid());


Loading…
Cancel
Save