File: libversion_change

package info (click to toggle)
ui-utilcpp 1.10.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,768 kB
  • sloc: cpp: 7,495; sh: 4,411; ansic: 278; makefile: 121
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-utilcpp$O.install libui-utilcpp$N.install
sed -i s/utilcpp$O/utilcpp$N/g rules control libui-utilcpp$N.install