wok-6.x annotate puzzles/stuff/desktopfiles.sh @ rev 8297

Up: fribidi to 0.19.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Jan 31 19:14:29 2011 +0000 (2011-01-31)
parents
children
rev   line source
erjo@6070 1 for i in ../puzzles-*/_pkg/usr/local/games/*
erjo@6070 2 do
erjo@6070 3 name=$(basename $i)
erjo@6070 4 cp games.desktop.mk $name.desktop
erjo@6070 5 sed -i -e "s/%%NAME%%/$name/" \
erjo@6070 6 -e "s/%%EXEC%%/$name/" \
erjo@6070 7 -e "s/%%ICONS%%/$name.png/" $name.desktop
erjo@6070 8
erjo@6070 9 done