Debian Codegraph @

docs/dev/logs/2011-03-23.manifest_use_explorer

raw
1 == Henne/Ei Problem ==
2 manifest will explorer benutzen der noch gar nicht existiert,
3 weil explorer ja auch object benutzen kann/soll/will welches erst von manifest
4 erzuegt wird.
5
6
7 --------------------------------------------------------------------------------
8
9 __foo/manifest
10
11 state_should="$(cat "$__object/parameter/state")"
12 state_is="$(cat "$__object/explorer/state")"
13 # BANG -> $__object/explorer/state does not exist at this point
14
15 if [ "$state_should" != "$state_is" ]; then
16 __file /some/file --source /some/source
17 fi
18
19
20
21
22