PageRenderTime 81ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 39ms app.codeStats 0ms

/admin/gen_resources.sh

http://github.com/tomahawk-player/tomahawk
Shell | 13 lines | 9 code | 3 blank | 1 comment | 1 complexity | b9862bccb5ff9f4102223ba66edf2efc MD5 | raw file
 1#!/bin/bash
 2echo "<!DOCTYPE RCC><RCC version=\"1.0\"><qresource>"
 3
 4datadir="`pwd`/data"
 5
 6cd "$datadir"
 7(find -type f | sed 's/^\.\///g') | while read f
 8do
 9    ff="${datadir}/$f"
10    echo "<file alias=\"$f\">$ff</file>"
11done
12
13echo "</qresource></RCC>"