Fix bad example
This commit is contained in:
parent
2eabd6e748
commit
e267456952
|
@ -392,7 +392,7 @@ override_dh_auto_clean:
|
|||
dh $@
|
||||
```
|
||||
|
||||
Because that first `cd` runs in its own shell context, the next line (`rm -r out`) is actually relative to the base directory, *not* the `artifacts/out/` directory! You can work around this by putting everything on one line like so:
|
||||
Because that first `cd artifacts/out/` runs in its own shell context, the next line (`rm -f $(MY_FILE)`), in another context, is actually relative to the base directory, *not* the `artifacts/out/` directory! You can work around this by putting both commands on one line with a command separator (e.g. `&&` or `;`) like so:
|
||||
|
||||
```
|
||||
override_dh_auto_clean:
|
||||
|
|
Loading…
Reference in New Issue