aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'wine.eselect')
-rw-r--r--wine.eselect3
1 files changed, 3 insertions, 0 deletions
diff --git a/wine.eselect b/wine.eselect
index 94741b4..7846140 100644
--- a/wine.eselect
+++ b/wine.eselect
@@ -810,6 +810,8 @@ set_symlinks() {
local link
local links
+ local glob_state=$(shopt -p failglob)
+ shopt -s failglob
store_config "${CONFIG_DIR}/links/${v}" symlink_dirs "bin"
store_config "${CONFIG_DIR}/links/${v}" "bin" ""
@@ -856,6 +858,7 @@ set_symlinks() {
sed -i "s:Exec=.*:Exec=wine${v_arg#-} start /unix %f:" ${desktop} || die "Failed to edit desktop file"
desktop_database_update || die "Failed to update xorg desktop database"
+ eval "${glob_state}"
unset_dir_env
}