cosmetic
This commit is contained in:
parent
9bc373f60b
commit
42b959010c
|
@ -46,6 +46,7 @@ bcdir=lib/completion.d
|
||||||
# copier le fichier .nutoolsrc
|
# copier le fichier .nutoolsrc
|
||||||
[ -f ~/.nutoolsrc ] || cp lib/nutoolsrc ~/.nutoolsrc
|
[ -f ~/.nutoolsrc ] || cp lib/nutoolsrc ~/.nutoolsrc
|
||||||
if ! quietgrep UTOOLS_LOCAL_PROFILES= ~/.nutoolsrc; then
|
if ! quietgrep UTOOLS_LOCAL_PROFILES= ~/.nutoolsrc; then
|
||||||
|
# Inclure configuration UTOOLS_LOCAL_PROFILES
|
||||||
echo "
|
echo "
|
||||||
# Type d'installation pour les profils
|
# Type d'installation pour les profils
|
||||||
#export UTOOLS_LOCAL_PROFILES=" >>~/.nutoolsrc
|
#export UTOOLS_LOCAL_PROFILES=" >>~/.nutoolsrc
|
||||||
|
|
|
@ -193,6 +193,8 @@ function __runs_create_rscript() {
|
||||||
template="$defaultt"
|
template="$defaultt"
|
||||||
elif [ "$rscriptname" == "userdefault" -o "$rscriptname" == "userdefault.rr" ]; then
|
elif [ "$rscriptname" == "userdefault" -o "$rscriptname" == "userdefault.rr" ]; then
|
||||||
template="$userdefaultt"
|
template="$userdefaultt"
|
||||||
|
elif false; then
|
||||||
|
: # XXX reconnaitre l'extension .rr pour créer un modèle de recette
|
||||||
else
|
else
|
||||||
withext "$rscript" || rscript="$rscript.rs"
|
withext "$rscript" || rscript="$rscript.rs"
|
||||||
template="$rscriptt"
|
template="$rscriptt"
|
||||||
|
@ -879,7 +881,7 @@ function runs_initworkdir() {
|
||||||
cp "$RUNSSRCDIR/uinst" "$RUNSEXPORTDIR"
|
cp "$RUNSSRCDIR/uinst" "$RUNSEXPORTDIR"
|
||||||
|
|
||||||
# faire les scripts
|
# 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
|
echo '#!/bin/bash
|
||||||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||||
cd "$(dirname "$0")"
|
cd "$(dirname "$0")"
|
||||||
|
|
Loading…
Reference in New Issue