bugGNU Stow - Bugs: bug #41826, Allow expansion of environment...

 
 

bug #41826: Allow expansion of environment variables in .stowrc (feature request)

Submitter:  None
Submitted:  Mon 10 Mar 2014 07:58:41 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 08 May 2016 01:10:34 PM UTC, comment #2: 
Adam Spiers <aspiers>
Group administrator
Wed 19 Mar 2014 10:47:04 PM UTC, comment #1: 

Thanks for the report.  It could be quite a while before I get around to implementing this myself, but I'd gladly consider pull requests against https://github.com/aspiers/stow

Adam Spiers <aspiers>
Group administrator
Mon 10 Mar 2014 07:58:41 PM UTC, original submission:  

To allow for portability of .stowrc files between different environments, it would be beneficial to expand environment variables in the configuration files. For example, if a user wants  to stow files in his home directory, he might use

--dir=$HOME/opt/stow
--target=$HOME/opt

instead of having to specify a unique prefix for each system. It may be a good idea to follow shell escape rules in this expansion. For example, the following would match the literal stow directory "$HOME/opt/stow":

--dir='$HOME/opt/stow'
--dir=\$HOME/opt/stow


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by aspiers (Posted a comment)
  • -email is unavailable- added by bsidhom
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-03-10 bsidhom Carbon-Copy- Added bsidhom

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code