File: flip

package info (click to toggle)
data-dumper 2.07-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 156 kB
  • ctags: 49
  • sloc: perl: 570; makefile: 37; sh: 16
file content (18 lines) | stat: -rwxr-xr-x 465 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

if [ -f ./MANIFEST.NOXSUB ]
then
	echo "Converting source from XSUB --> NOXSUB"
	mv -f MANIFEST MANIFEST.XSUB
	mv -f MANIFEST.NOXSUB MANIFEST
	mv -f Dumper.pm Dumper.pm.XSUB
	mv -f Dumper.xs Dumper.xs.XSUB
	mv -f Dumper.pm.NOXSUB Dumper.pm
else
	echo "Converting source from NOXSUB --> XSUB"
	mv -f MANIFEST MANIFEST.NOXSUB
	mv -f MANIFEST.XSUB MANIFEST
	mv -f Dumper.pm Dumper.pm.NOXSUB
	mv -f Dumper.xs.XSUB Dumper.xs
	mv -f Dumper.pm.XSUB Dumper.pm
fi