• guihkx's avatar
    linux: ensure bytes are valid before patching · 84e433fb
    guihkx authored
    We use sed to replace original bytes by patched ones, but unfortunately
    sed doesn't report any errors when this substitution fails.
    
    Now, before actually running sed, we check if these bytes that are soon
    to be replaced, actually exist in the driver file.
    84e433fb
patch-fbc.sh 20.6 KB