make regexp usable in the middle of an expression

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-10 17:23:47 +01:00
parent 99e6b9e6b1
commit c67807af76
1 changed files with 1 additions and 1 deletions

View File

@ -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}