Return to the previous directory after building the payload.

This commit is contained in:
Łukasz 'sil2100' Zemczak 2024-01-22 13:16:45 +01:00
parent bc93ca4440
commit b22e4e3215

View File

@ -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