rendre accessible cgiupload.py comme librairie

This commit is contained in:
Jephte CLAIN 2013-11-14 18:48:54 +04:00
parent bc3185fad5
commit 18253318d8
3 changed files with 9 additions and 0 deletions

View File

@ -11,6 +11,7 @@ rm -rf pyulib/{build,devel,migrate,test}
for i in plver plbck uencdetect urandomize umail wofixsql; do
ln -s lib/pywrapper "$i"
done
ln -s ulib/support/cgiupload.py
# liens pour les scripts shell
for i in cg cgs; do

8
ulib/cgiupload Normal file
View File

@ -0,0 +1,8 @@
##@cooked comments # -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
## Fonction de support pour cgiupload
##@cooked nocomments
##@require ulib
uprovide cgiupload
urequire ulib
function cgiupload() { "$ULIBDIR/support/cgiupload.py" "$@"; }