finish __cdist_object_list
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
3c3dad1842
commit
6914071fe0
1 changed files with 3 additions and 10 deletions
|
@ -89,8 +89,6 @@ __cdist_abs_myname="$__cdist_abs_mydir/$__cdist_myname"
|
||||||
|
|
||||||
# Used for IDs
|
# Used for IDs
|
||||||
__cdist_sane_regexp='[A-Za-z0-9]*[-A-Za-z0-9_]*'
|
__cdist_sane_regexp='[A-Za-z0-9]*[-A-Za-z0-9_]*'
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Function list
|
# Function list
|
||||||
#
|
#
|
||||||
|
@ -143,14 +141,9 @@ __cdist_object_list()
|
||||||
|
|
||||||
cd "${basedir}"
|
cd "${basedir}"
|
||||||
|
|
||||||
find . -name "$__cdist_object_source" | \
|
find . -name "$__cdist_name_object_source" | \
|
||||||
sed -e "s;$__cdist_object_source\$;;" \
|
sed -e "s;$__cdist_name_object_source\$;;" \
|
||||||
-e 's;^./;;' \
|
-e 's;^./;;'
|
||||||
> "$__cdist_tmp_file"
|
|
||||||
|
|
||||||
|
|
||||||
cat "${__cdist_object_base_dir}/${object}/${arg}"
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
__cdist_tmp_removal()
|
__cdist_tmp_removal()
|
||||||
|
|
Loading…
Reference in a new issue