make regexp usable in the middle of an expression

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/1.0
Nico Schottelius 14 years ago
parent 99e6b9e6b1
commit c67807af76
  1. 2
      bin/cdist-config

@ -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…
Cancel
Save