#!/bin/sh # This script generates ../flags.qrc based on the ../flags dir contents cd .. OUT=flags.qrc echo "" > $OUT echo " " >> $OUT for x in flags/*.png; do echo " $x" >> $OUT done echo " " >> $OUT echo "" >> $OUT