File: fixdllversion

package info (click to toggle)
libcommoncpp2 1.0.13-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,740 kB
  • ctags: 2,860
  • sloc: cpp: 18,857; sh: 8,451; ansic: 1,546; makefile: 299; xml: 5
file content (18 lines) | stat: -rwxr-xr-x 294 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# imposta i nomi delle dll a ccgnu$VER.dll
VER=5

fix() {
	if [ -f "$1" ]; then
		cat "$1" | sed "s/ccgnu[0-9]\\+\([dD]\?\).\(dll\|lib\)/ccgnu$VER\\1.\\2/gi" > _temp_.dat
		mv -f _temp_.dat "$1"
	fi
}

fix install.bat
fix CCXX.dsp
fix CCXX.rc.in
fix CCXX.rc
fix ../demo/apesock.dsp