Commit d6d55477 authored by Bernhard Landauer's avatar Bernhard Landauer

chown -R $SUDO_USER $PKGDIR

parent f05b7378
......@@ -939,7 +939,7 @@ export_and_clean() {
info "Extracting finished package out of rootfs..."
mkdir -p $PKGDIR/$ARCH
cp $BUILDDIR/$ARCH/build/*.pkg.tar.xz* $PKGDIR/$ARCH/
chmod 666 $PKGDIR/$ARCH/$PACKAGE*
chown -R $SUDO_USER $PKGDIR
msg "Package saved as {$PACKAGE} in {$PKGDIR/$ARCH}..."
umount $BUILDDIR/$ARCH/build
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment