From b22e4e32158feb5653a5702163ef570521bf3993 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=27sil2100=27=20Zemczak?= Date: Mon, 22 Jan 2024 13:16:45 +0100 Subject: [PATCH] Return to the previous directory after building the payload. --- live-build/auto/build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/live-build/auto/build b/live-build/auto/build index 5a7b393f..fd5915d0 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -174,6 +174,8 @@ if [ "$PROJECT" = "ubuntu-core-desktop" ]; then # We need to rename the image file so that it can be pulled # by the builder. mv pc.img.xz "$PREFIX".img.xz + # Important: return to the previous directory + cd ../ fi # Setup cleanup function