uenv: bug dans le calcul des répertoires destination

This commit is contained in:
Jephté Clain 2016-04-25 10:35:57 +04:00
parent deaa416ff8
commit ada36863be
1 changed files with 2 additions and 2 deletions

4
uenv
View File

@ -113,8 +113,8 @@ else
## ~/etc/{profile.d,bashrc.d} ## ~/etc/{profile.d,bashrc.d}
ac_set_tmpfile tmpfile ac_set_tmpfile tmpfile
for prefix in profile bashrc; do for prefix in profile bashrc; do
envdir="${prefix}dir"; envdir="${!envdir}" envdir="${prefix}destdir"; envdir="${!envdir}"
shadir="shared_${prefix}dir"; shadir="${!shadir}" shadir="shared_${prefix}destdir"; shadir="${!shadir}"
[ -d "$envdir" ] || continue [ -d "$envdir" ] || continue
estep "Mise à jour de $(ppath "$envdir")" estep "Mise à jour de $(ppath "$envdir")"