mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
iop: fix cfe_upgrade script, wrong image type
This commit is contained in:
parent
c7b88666d8
commit
103bbebad0
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ function cfe_upgrade_latest {
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
{ cd `dirname $0`
|
{ cd `dirname $0`
|
||||||
IMAGE=`ls -Art bin/*/*.y | tail -n1`
|
IMAGE=`ls -Art bin/*/*.w | tail -n1`
|
||||||
[ "$IMAGE" ] && [ -e "$IMAGE" ] && ./iop cfe_upgrade $1 $IMAGE
|
[ "$IMAGE" ] && [ -e "$IMAGE" ] && ./iop cfe_upgrade $1 $IMAGE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue