mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-28 09:19:41 +03:00
27 lines
657 B
Bash
27 lines
657 B
Bash
|
#!/bin/sh
|
||
|
echo SKIN_SOURCES:=\\
|
||
|
while read skinname
|
||
|
do
|
||
|
skinpath=../../skins/"$skinname"
|
||
|
for f in $skinpath/*.{asm,ASM}
|
||
|
do
|
||
|
if [ ! -f "$f" ]; then continue; fi
|
||
|
if expr "$f" : '.*\.dtp' > /dev/null; then continue; fi
|
||
|
echo -n allskins/$skinname.skn | sed 's/ /|/g'
|
||
|
echo -n ':Skins/:'
|
||
|
echo -n $f | sed 's/ /|/g'
|
||
|
echo " \\"
|
||
|
done
|
||
|
for f in ../../skins/"$skinname"/*/*.{asm,ASM}
|
||
|
do
|
||
|
if [ ! -f "$f" ]; then continue; fi
|
||
|
if expr "$f" : '.*\.dtp' > /dev/null; then continue; fi
|
||
|
g=`basename "$(dirname "$f")"`
|
||
|
echo -n allskins/$g.skn | sed 's/ /|/g'
|
||
|
echo -n ':Skins/:'
|
||
|
echo -n $f | sed 's/ /|/g'
|
||
|
echo " \\"
|
||
|
done
|
||
|
done
|
||
|
echo '# end of list'
|