You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/11/23 01:19:11 UTC

[GitHub] natevw edited a comment on issue #1757: Startup script breaks relative paths

natevw edited a comment on issue #1757: Startup script breaks relative paths
URL: https://github.com/apache/couchdb/issues/1757#issuecomment-441140266
 
 
   Ah, I see. So basically it's a tradeoff between supporting paths relative to the user's `$PWD` vs. supporting paths relative to the startup script's `$ROOTDIR`.
   
   Seems like [build-couchdb](https://github.com/jhs/build-couchdb) made a relocatable installation in the CouchDB 1.x era, but maybe it hardcoded the directory paths or something? Been awhile… **UPDATE**: yep, looks like it did generate a config with hardcoded (absolute) paths:
   
   > $ cat bc16/build/etc/couchdb/default.ini | grep database_dir
   > database_dir = /home/natevw/bc16/build/var/lib/couchdb
   
   Feel free to close then if you feel it's appropriate.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services