Faire des qcm simplement - retour accueil
git clone git://bebou.netlib.re/qcm
Log | Files | Refs | README |
commit 66680403b43fd0498e353799a08715937ef646e6 parent 8688a939f5c6460fdaffa4c6a057ba44eb3629d9 Auteurice: Arthur Pons <arthur.pons@unistra.fr> Date: Sat, 9 Nov 2024 12:31:40 +0100 Préfixer les dossiers temporaires avec "qcm." Diffstat:
M | qcm.sh | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/qcm.sh b/qcm.sh @@ -107,8 +107,8 @@ nbq=4 uopt="-u" choix= -tmpd=$(mktemp -d /tmp/XXX) -id=$(basename "$tmpd") +tmpd=$(mktemp -d /tmp/qcm.XXX) +id=$(echo "$tmpd" | cut -d '.' -f2) alias question:=question; question() question="$*" alias type:=type; type() type="$*"