File: test

package info (click to toggle)
librapi2 0.9.0-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,204 kB
  • ctags: 1,258
  • sloc: sh: 9,013; ansic: 5,743; cpp: 522; makefile: 171
file content (14 lines) | stat: -rw-r--r-- 525 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
CURDIR=`pwd`

	for i in pcp pls pmkdir pmv prm prmdir prun pstatus; do
		mv $CURDIR/debian/tmp/usr/bin/$i $CURDIR/debian/tmp/usr/bin/synce-$i
		mv $CURDIR/debian/tmp/usr/share/man/$i.1 \
			$CURDIR/debian/tmp/usr/share/man/synce-$i.1
		for j in pcp pls pmkdir pmv prm prmdir prun pstatus; do
			sed s/$j/synce-$j/ $CURDIR/debian/tmp/usr/share/synce-$i.1 \
				> $CURDIR/debian/tmp/usr/share/tmp-synce-$i.1
			mv $CURDIR/debian/tmp/usr/share/tmp-synce-$i.1 \
				$CURDIR/debian/tmp/usr/share/synce-$i.1
		done
	done