sack icon indicating copy to clipboard operation
sack copied to clipboard

install directory is hardcoded

Open danielb2 opened this issue 12 years ago • 2 comments

I use ~/local for all my installs because it gets too cluttered otherwise. --prefix=$HOME/local otherwise I get ~/include ~/lib as well as ~/bin

However, in create_shortcut_cmd() I see the command path is hardcoded as sack__shortcut_cmd_path=~/bin/$sack__shortcut_cmd which obviously doesn't work for me.

Seems .sackrc would be a reasonable place to make this configurable?

danielb2 avatar Apr 23 '13 17:04 danielb2

Seems .sackrc would be a reasonable place to make this configurable?

Before install.sh runs, there is no .sackrc. Thus it is better to pass --prefix dir to install.sh.

weakish avatar Nov 28 '14 09:11 weakish

Partly fix with my pull request.

not support "--prefix" yet, but could change or config it manually.

liuyang1 avatar May 07 '16 09:05 liuyang1