Lines 80-88
set_symlink() {
Link Here
|
80 |
targets=( $(find_targets) ) |
80 |
targets=( $(find_targets) ) |
81 |
[[ ${#targets[@]} -eq 0 ]] \ |
81 |
[[ ${#targets[@]} -eq 0 ]] \ |
82 |
&& die -q "Failed to get a list of valid profiles" |
82 |
&& die -q "Failed to get a list of valid profiles" |
83 |
target=${targets[target-1]} |
83 |
if [[ ${target} -ge 1 ]] ; then |
84 |
repo=${target%%::*}; target=${target#*::} |
84 |
target=${targets[target-1]} |
85 |
repopath=${target%%::*}; target=${target#*::} |
85 |
repo=${target%%::*}; target=${target#*::} |
|
|
86 |
repopath=${target%%::*}; target=${target#*::} |
87 |
fi |
86 |
elif [[ -n ${target} ]]; then |
88 |
elif [[ -n ${target} ]]; then |
87 |
# if the profile was explicitly specified (rather than a number) |
89 |
# if the profile was explicitly specified (rather than a number) |
88 |
# double check and make sure it's valid |
90 |
# double check and make sure it's valid |
89 |
- |
|
|