ne sélectionner lib que si lib/ulib ou lib/pyulib existent

This commit is contained in:
Jephté Clain 2014-07-09 15:10:43 +04:00
parent 33596aaf7f
commit eee1e5b531
1 changed files with 3 additions and 1 deletions

4
ulib
View File

@ -185,7 +185,9 @@ sync)
}
[ -n "$destdir" ] || destdir="$1"
[ -n "$destdir" ] || { [ -d lib ] && destdir=lib || destdir=.; }
[ -z "$destdir" -a -n "$synculib" -a -d lib/ulib ] && destdir=lib
[ -z "$destdir" -a -n "$syncpyulib" -a -d lib/pyulib ] && destdir=lib
[ -n "$destdir" ] || destdir=.
ask_yesno "Voulez-vous copier ${synculib:+
- la librairie ulib}${syncpyulib:+