This commit is contained in:
Jephté Clain 2016-04-24 19:03:12 +04:00
parent 9bc373f60b
commit 42b959010c
2 changed files with 4 additions and 1 deletions

View File

@ -46,6 +46,7 @@ bcdir=lib/completion.d
# copier le fichier .nutoolsrc
[ -f ~/.nutoolsrc ] || cp lib/nutoolsrc ~/.nutoolsrc
if ! quietgrep UTOOLS_LOCAL_PROFILES= ~/.nutoolsrc; then
# Inclure configuration UTOOLS_LOCAL_PROFILES
echo "
# Type d'installation pour les profils
#export UTOOLS_LOCAL_PROFILES=" >>~/.nutoolsrc

View File

@ -193,6 +193,8 @@ function __runs_create_rscript() {
template="$defaultt"
elif [ "$rscriptname" == "userdefault" -o "$rscriptname" == "userdefault.rr" ]; then
template="$userdefaultt"
elif false; then
: # XXX reconnaitre l'extension .rr pour créer un modèle de recette
else
withext "$rscript" || rscript="$rscript.rs"
template="$rscriptt"
@ -879,7 +881,7 @@ function runs_initworkdir() {
cp "$RUNSSRCDIR/uinst" "$RUNSEXPORTDIR"
# faire les scripts
args_def="args=($(quoted_args ./runs --runsscriptspath "$RUNSSCRIPTSPATH" --runsmodulespath "$RUNSMODULESPATH" --runshostspath "$RUNSHOSTSPATH" --runsexportdir . --runsvarsfile varsfile -h "$RUNSHOST" ${RUNSRESET:+ -z}))"
args_def="args=($(quoted_args ./runs --runsscriptspath "$RUNSSCRIPTSPATH" --runsmodulespath "$RUNSMODULESPATH" --runshostspath "$RUNSHOSTSPATH" --runsexportdir . --runsvarsfile varsfile -h "$RUNSHOST" ${RUNSRESET:+-z}))"
echo '#!/bin/bash
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
cd "$(dirname "$0")"