helpers (bash): fix prefix_dir path not being set
This commit is contained in:
parent
5e28e29f6f
commit
d9ef44e3f7
1 changed files with 2 additions and 2 deletions
|
@ -20,9 +20,9 @@ function get_config_dir() {
|
|||
config_dir=""
|
||||
|
||||
if [[ ! -z $prog ]]; then
|
||||
config_dir="$prefix/$prog"
|
||||
config_dir="$prefix_dir/$prog"
|
||||
else
|
||||
config_dir="$prefix"
|
||||
config_dir="$prefix_dir"
|
||||
fi
|
||||
|
||||
if [[ ! -d "$config_dir" ]]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue