Shell formatting cleanup

ubuntu/cosmic
Daniel Watkins 7 years ago
parent 605b97de97
commit ab85167fb5

@ -8,10 +8,8 @@ if [ -n "$SUBARCH" ]; then
exit 0 exit 0
fi fi
. config/functions
# This is the directory created by 031-0-create-root-dir.binary # This is the directory created by 031-0-create-root-dir.binary
rootfs_dir=rootfs.dir rootfs_dir=rootfs.dir
cp $rootfs_dir.manifest livecd.ubuntu-cpc.rootfs.manifest cp $rootfs_dir.manifest livecd.ubuntu-cpc.rootfs.manifest
(cd "$rootfs_dir/" && tar -c *) | xz > "livecd.ubuntu-cpc.rootfs.tar.xz" (cd $rootfs_dir/ && tar -c *) | xz > livecd.ubuntu-cpc.rootfs.tar.xz

@ -20,10 +20,10 @@ fi
# This is the directory created by 031-0-create-root-dir.binary # This is the directory created by 031-0-create-root-dir.binary
rootfs_dir=rootfs.dir rootfs_dir=rootfs.dir
squashfs_f="${PWD}/livecd.ubuntu-cpc.squashfs" squashfs_f="$PWD/livecd.ubuntu-cpc.squashfs"
cp $rootfs_dir.manifest "${squashfs_f}.manifest" cp $rootfs_dir.manifest $squashfs_f.manifest
(cd "$rootfs_dir" && (cd $rootfs_dir &&
mksquashfs . ${squashfs_f} \ mksquashfs . $squashfs_f \
-no-progress -xattrs -comp xz ) -no-progress -xattrs -comp xz )

Loading…
Cancel
Save