forked from ungleich-public/cdist
strip duplicate /
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
b67d785a24
commit
865acf3771
1 changed files with 2 additions and 2 deletions
|
@ -33,8 +33,8 @@ entry="$export"
|
|||
entry="$entry $client"
|
||||
|
||||
# NOTE: if changed, also change in explorers
|
||||
prefix="#cdist:__nfs_export/$export"
|
||||
suffix="#/cdist:__nfs_export/$export"
|
||||
prefix="#cdist:__nfs_export${export}"
|
||||
suffix="#/cdist:__nfs_export${export}"
|
||||
echo "$prefix" | tee "$__object/parameter/prefix" > "$__object/parameter/entry"
|
||||
echo "$entry" >> "$__object/parameter/entry"
|
||||
echo "$suffix" | tee "$__object/parameter/suffix" >> "$__object/parameter/entry"
|
||||
|
|
Loading…
Reference in a new issue