Skip to content

Commit

Permalink
Apollo_base: fix the code error in soft link
Browse files Browse the repository at this point in the history
  • Loading branch information
songhanchen authored and YajiaZhang committed Jun 26, 2018
1 parent 06b82d2 commit abfd298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/apollo_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function setup_device() {
for INDEX in `seq 0 3`
do
# soft link if sensorbox exist
if [ -e /dev/zynq_can${INDEX}] && [ ! -e /dev/can${INDEX} ]; then
if [ -e /dev/zynq_can${INDEX} ] && [ ! -e /dev/can${INDEX} ]; then
sudo ln -s /dev/zynq_can${INDEX} /dev/can${INDEX}
fi
if [ ! -e /dev/can${INDEX} ]; then
Expand Down

0 comments on commit abfd298

Please sign in to comment.