diff options
author | 2017-04-05 15:24:26 -0400 | |
---|---|---|
committer | 2017-04-05 20:41:19 -0400 | |
commit | b179df81f7f5b3d1dbd39b98ad5b33fd4f719d97 (patch) | |
tree | d713a5c870c8798e23834fe0b1f3f4cd7e2b864e | |
parent | wine.eselect: Fix typo in EPREFIX (diff) | |
download | eselect-wine-b179df81f7f5b3d1dbd39b98ad5b33fd4f719d97.tar.gz eselect-wine-b179df81f7f5b3d1dbd39b98ad5b33fd4f719d97.tar.bz2 eselect-wine-b179df81f7f5b3d1dbd39b98ad5b33fd4f719d97.zip |
wine.eselect: Update bin links to fix calls to variant
-rw-r--r-- | wine.eselect | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/wine.eselect b/wine.eselect index 4b0f981..00097c0 100644 --- a/wine.eselect +++ b/wine.eselect @@ -798,9 +798,10 @@ set_symlinks() { store_config "${CONFIG_DIR}/links/${v}" "bin" "" for b in "${wine_bin}"/*; do link="${EPREFIX}/usr/bin/${b##*/}${v_arg#-}" - ln -s "${b}" "${link}" + local linktgt="${EPREFIX}/usr/bin/${b##*/}${tgt##wine}" + ln -s "${linktgt}" "${link}" if [[ $? -ne 0 ]]; then - write_warning_msg "Failed to set symlink from ${b} to ${link}" + write_warning_msg "Failed to set symlink from ${linktgt} to ${link}" write_warning_msg "Cleaning up" remove_symlinks ${v_arg} fi |