Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fixed issue with check always returning true
  • Loading branch information
rachelambda committed Feb 25, 2020
commit f734780f4e6939f2ff375e0b92fc00e152da1dcb
2 changes: 1 addition & 1 deletion flash-it.sh
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ if [ $DEVICE_NODE == "./sdcard.img" ]; then
fi

# use p1, p2 extentions instead of 1, 2 when using sd drives
if [ [ $(echo $DEVICE_NODE | grep mmcblk) ] || [ $(echo $DEVICE_NODE | grep loop)] ]; then
if [ $(echo $DEVICE_NODE | grep mmcblk || echo $DEVICE_NODE | grep loop) ]; then
BOOTPART="${DEVICE_NODE}p1"
DATAPART="${DEVICE_NODE}p2"
else
Expand Down