importation initiale dans git

This commit is contained in:
2013-08-27 15:14:44 +04:00
commit 39f9ee159c
687 changed files with 125329 additions and 0 deletions

20
legacy/sysinc/usebash Normal file
View File

@@ -0,0 +1,20 @@
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
# usebash: requiere l'utilisation de bash pour lancer ce script
use_bash=1
if [ -n "$BASH" ]; then
if [ `basename "$BASH"` != sh ]; then
use_bash=
fi
fi
if [ -n "$use_bash" ]; then
default_bash="`which bash 2>/dev/null`"
for bash in "$default_bash" /bin/bash /usr/bin/bash /usr/local/bin/bash; do
if [ -x "$bash" ]; then
exec "$bash" "$0" "$@"
fi
done
echo "error: Ce script necessite bash"
exit 1
fi
unset use_bash