Changeset 44761


Ignore:
Timestamp:
2015-03-15T06:12:11+01:00 (3 years ago)
Author:
nbd
Message:

scripts: fix ubinize-image on OS X

Signed-off-by: Álvaro Fernández Rojas <noltari@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/ubinize-image.sh

    r41368 r44761  
    9999fi 
    100100 
    101 ubinizecfg="$( mktemp )" 
     101ubinizecfg="$( mktemp 2> /dev/null )" 
     102if [ -z "$ubinizecfg" ]; then 
     103        # try OSX signature 
     104        ubinizecfg="$( mktemp -t 'ubitmp' )" 
     105fi 
    102106ubilayout "$ubootenv" "$rootfs" "$kernel" > "$ubinizecfg" 
    103107 
     
    109113 
    110114exit $err 
    111  
Note: See TracChangeset for help on using the changeset viewer.