• François Revol's avatar
    Haiku: fix adding resources · cde93480
    François Revol authored
    The custom_command was run in src/haiku/ and created a file with only resources inside.
    
    Since xres edits the file in-place and meson doesn't like it, we have to run a shell script for now.
    Maybe later I'll add proper support in meson.
    cde93480
add_resources.sh 91 Bytes
#!/bin/sh

cp "$2" "$1" && xres -o "$1" -- "$3" && mimeset -f "$1" || (rm -f "$1"; exit 1)