diff options
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-x | scripts/runqemu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 31e9822693..4adeacece1 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -114,7 +114,7 @@ while [ $i -le $# ]; do | |||
114 | usage | 114 | usage |
115 | fi | 115 | fi |
116 | ;; | 116 | ;; |
117 | *-image-*) | 117 | *-image*) |
118 | if [ -z "$ROOTFS" ]; then | 118 | if [ -z "$ROOTFS" ]; then |
119 | if [ -f "$arg" ]; then | 119 | if [ -f "$arg" ]; then |
120 | process_filename $arg | 120 | process_filename $arg |
@@ -307,7 +307,7 @@ findimage() { | |||
307 | 307 | ||
308 | # Sort rootfs candidates by modification time - the most | 308 | # Sort rootfs candidates by modification time - the most |
309 | # recently created one is the one we most likely want to boot. | 309 | # recently created one is the one we most likely want to boot. |
310 | filenames=`ls -t $where/*core-image*$machine.$extension 2>/dev/null | xargs` | 310 | filenames=`ls -t $where/*-image*$machine.$extension 2>/dev/null | xargs` |
311 | for name in $filenames; do | 311 | for name in $filenames; do |
312 | if [[ "$name" =~ core-image-sato-sdk || | 312 | if [[ "$name" =~ core-image-sato-sdk || |
313 | "$name" =~ core-image-sato || | 313 | "$name" =~ core-image-sato || |