Skip to content

Commit

Permalink
check the existence of platforms/ before including it (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
lguohan authored and qiluo-msft committed Nov 17, 2016
1 parent 79d0f23 commit 882cfe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer/x86_64/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ CONSOLE_SPEED=9600

# Get platform specific linux kernel command line arguments
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX=""
source platforms/$onie_platform
[ -r platforms/$onie_platform ] && source platforms/$onie_platform

# Install demo on same block device as ONIE
onie_dev=$(blkid | grep ONIE-BOOT | head -n 1 | awk '{print $1}' | sed -e 's/:.*$//')
Expand Down

0 comments on commit 882cfe1

Please sign in to comment.