Skip to content

Commit

Permalink
Merge pull request #39 from geerlingguy/revert-28-issue27
Browse files Browse the repository at this point in the history
Revert "Fixed issue #27 (spaces in label)"
  • Loading branch information
geerlingguy authored Jul 30, 2024
2 parents c417208 + bea4169 commit deda2cb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rpi-clone
Original file line number Diff line number Diff line change
Expand Up @@ -1516,7 +1516,7 @@ Use -U for unattended even if initializing.
then
ext_label $p "$fs_type" "-L" label
printf " => mkfs -t $mkfs_type $label $dst_dev ..."
yes | mkfs -t $mkfs_type "$label" "$dst_dev" &>> /tmp/$PGM-output
yes | mkfs -t $mkfs_type $label $dst_dev &>> /tmp/$PGM-output
echo ""
else
if [ "$fs_type" == "swap" ]
Expand All @@ -1529,7 +1529,7 @@ Use -U for unattended even if initializing.
then
ext_label $p $fs_type "-L" label
printf " => mkfs -t $mkfs_type $label $dst_dev ..."
yes | mkfs -t $mkfs_type "$label" "$dst_dev" &>> /tmp/$PGM-output
yes | mkfs -t $mkfs_type $label $dst_dev &>> /tmp/$PGM-output
echo ""
if ((p == n_image_parts))
then
Expand Down Expand Up @@ -1680,7 +1680,7 @@ do
if [ "$label" != "" ]
then
qecho " e2label $dst_dev $label"
e2label $dst_dev "$label"
e2label $dst_dev $label
fi

mount_partition ${src_device[p]} $clone_src ""
Expand Down Expand Up @@ -1726,7 +1726,7 @@ do
if [ "$label" != "" ]
then
qecho " e2label $dst_dev $label"
e2label $dst_dev "$label"
e2label $dst_dev $label
fi

mount_partition "$dst_dev" "$dst_dir" "$unmount_list"
Expand Down

0 comments on commit deda2cb

Please sign in to comment.