File: libversion_change

package info (click to toggle)
ui-gxmlcpp 1.4.4-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,292 kB
  • ctags: 710
  • sloc: sh: 4,187; cpp: 3,534; makefile: 70
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