Subversion Repositories Kolibri OS

Rev

Rev 2777 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. #!/bin/sh
  2. echo SKIN_SOURCES:=\\
  3. while read skinname
  4. do
  5.         skinpath=../../skins/olds/"$skinname"
  6.         for f in $skinpath/*.{asm,ASM}
  7.         do
  8.                 if [ ! -f "$f" ]; then continue; fi
  9.                 if expr "$f" : '.*\.dtp' > /dev/null; then continue; fi
  10.                 echo -n allskins/$skinname.skn | sed 's/ /|/g'
  11.                 echo -n ':Skins/:'
  12.                 echo -n $f | sed 's/ /|/g'
  13.                 echo " \\"
  14.         done
  15.         for f in ../../skins/olds/"$skinname"/*/*.{asm,ASM}
  16.         do
  17.                 if [ ! -f "$f" ]; then continue; fi
  18.                 if expr "$f" : '.*\.dtp' > /dev/null; then continue; fi
  19.                 g=`basename "$(dirname "$f")"`
  20.                 echo -n allskins/$g.skn | sed 's/ /|/g'
  21.                 echo -n ':Skins/:'
  22.                 echo -n $f | sed 's/ /|/g'
  23.                 echo " \\"
  24.         done
  25. done
  26. echo '# end of list'
  27.