@ -48,6 +48,10 @@ BEGIN {
if(i == 1) {
delval = substr($0,length(key)+1)
delpos = index(delval,delimiter)
if(delpos == 0) {
# in this case, the delimiter was not found
next
}
if(delpos > 1) {
spaces = substr(delval,1,delpos-1)
sub(/[ \t]*/,"",spaces)
@ -53,7 +53,9 @@ case "$state_should" in
*)
echo "Unknown explorer state: $state_is" >&2
exit 1
;;
esac
present)
case "$state_is" in
absent)
@ -68,11 +70,13 @@ case "$state_should" in
echo "Unknown state: $state_should" >&2
cat <<__CDIST_HEREDOC_END_HERE_MARKER
@ -184,5 +188,4 @@ END {
AWK_EOF
mv -f "\$tmpfile" "$file"
__CDIST_HEREDOC_END_HERE_MARKER
@ -1 +0,0 @@