forked from ungleich-public/cdist
make regexp usable in the middle of an expression
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
99e6b9e6b1
commit
c67807af76
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ __cdist_abs_myname="$__cdist_abs_mydir/$__cdist_myname"
|
|||
: ${__cdist_name_type_explorer:=type_explorer}
|
||||
|
||||
# Used for IDs: Allow everything not starting with - and .
|
||||
: ${__cdist_sane_regexp:=^[^-\.]}
|
||||
: ${__cdist_sane_regexp:=^[^-\.].*}
|
||||
|
||||
# Default remote user
|
||||
: ${__cdist_remote_user:=root}
|
||||
|
|
Loading…
Reference in a new issue