Skip to content

Commit

Permalink
Fix mksyslinuxfs shellcheck warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mattludwigs authored and fhunleth committed Sep 3, 2019
1 parent 49889b5 commit cde6508
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/mksyslinuxfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ if [[ ! -f $SYSLINUX ]]; then
fi

# Create the boot partition and run it through syslinux
rm -f $BOOTPART
dd if=/dev/zero of=$BOOTPART count=0 seek=$BOOTSIZE 2>/dev/null
$MKFS_VFAT -F 12 -n BOOT $BOOTPART >/dev/null
$SYSLINUX -i $BOOTPART
rm -f "$BOOTPART"
dd if=/dev/zero of="$BOOTPART" count=0 seek="$BOOTSIZE" 2>/dev/null
"$MKFS_VFAT" -F 12 -n BOOT "$BOOTPART" >/dev/null
"$SYSLINUX" -i "$BOOTPART"

0 comments on commit cde6508

Please sign in to comment.