File: setDebianPath.sh

package info (click to toggle)
jfractionlab 0.84-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 11,236 kB
  • ctags: 1,696
  • sloc: java: 7,923; sh: 177; makefile: 65
file content (16 lines) | stat: -rwxr-xr-x 286 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

	cd src/jfractionlab/
	OLD="import\ info.clearthought.layout.TableLayout;"
	NEW="import\ org.debian.tablelayout.TableLayout;"
	for i in *java
	do
		sed s/"$OLD"/"$NEW"/g $i > $i.p
		mv $i.p $i
	done
	for i in */*java
	do
		sed s/"$OLD"/"$NEW"/g $i > $i.p
		mv $i.p $i
	done