File: fix-xpm

package info (click to toggle)
springlobby 0.255%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 14,228 kB
  • ctags: 14,450
  • sloc: cpp: 76,178; ansic: 61,718; python: 863; sh: 654; perl: 238; xml: 52; makefile: 41; sed: 16
file content (8 lines) | stat: -rwxr-xr-x 224 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
#!/usr/bin/env bash
# dunno if it would work with plain sh, please verify
# usage: tools/fix-xpm
# no parameters
# no output

cd $(dirname $0)/..
find src/ -name \*.xpm -exec sed -i 's/^static char/static const char/' {} \;