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