From e267456952a5f38c6cd913c671e09499c25ee771 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 3 Dec 2022 01:50:21 -0500 Subject: [PATCH] Fix bad example --- content/debian-packaging-101.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/debian-packaging-101.md b/content/debian-packaging-101.md index ccbcfc2..a3da1a0 100644 --- a/content/debian-packaging-101.md +++ b/content/debian-packaging-101.md @@ -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: