File: libversion_change

package info (click to toggle)
ui-gxmlcpp 1.4.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,368 kB
  • sloc: sh: 4,401; cpp: 3,534; makefile: 72
file content (13 lines) | stat: -rwxr-xr-x 216 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -e

if [ -d "$(dirname $0)/../.git" ]; then
	VC=git
else
	VC=svn
fi

O=$1
N=$2

${VC} mv libui-gxmlcpp$O.install libui-gxmlcpp$N.install
sed -i s/gxmlcpp$O/gxmlcpp$N/g rules control libui-gxmlcpp$N.install