Return to the previous directory after building the payload.

ubuntu-core-desktop
Łukasz 'sil2100' Zemczak 11 months ago
parent bc93ca4440
commit b22e4e3215

@ -174,6 +174,8 @@ if [ "$PROJECT" = "ubuntu-core-desktop" ]; then
# We need to rename the image file so that it can be pulled # We need to rename the image file so that it can be pulled
# by the builder. # by the builder.
mv pc.img.xz "$PREFIX".img.xz mv pc.img.xz "$PREFIX".img.xz
# Important: return to the previous directory
cd ../
fi fi
# Setup cleanup function # Setup cleanup function

Loading…
Cancel
Save