|
Revision 5425, 0.6 kB
(checked in by qsy, 4 years ago)
|
|
Removed old PacketManipulator copy with old structure. Added scripts/cppm for easy building to PM_copy
|
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | #! /usr/bin/env python |
|---|
| 2 | |
|---|
| 3 | import os, sys |
|---|
| 4 | |
|---|
| 5 | if sys.platform == 'linux2': |
|---|
| 6 | os.system('python setup.py build') |
|---|
| 7 | wanted_file_exts = [ 'py' , 'so' ] |
|---|
| 8 | |
|---|
| 9 | os.system('svn del PM_copy/umit/pm/backend/bt_sniffer/* --force') |
|---|
| 10 | |
|---|
| 11 | for ext in wanted_file_exts: |
|---|
| 12 | os.system('cp build/lib.linux-i686-2.6/umit/bluetooth/*.%s PM_copy/umit/pm/backend/bt_sniffer/' % ext) |
|---|
| 13 | |
|---|
| 14 | os.system('svn add PM_copy/umit/pm/backend/bt_sniffer/*') |
|---|
| 15 | |
|---|
| 16 | # os.system('cp -r btpincrack-v0.3 PacketManipulator/') |
|---|
| 17 | if not os.path.exists('PM_copy/btpincrack-v0.3'): |
|---|
| 18 | os.system('svn copy btpincrack-v0.3 PM_copy/') |
|---|
| 19 | else: |
|---|
| 20 | print 'Sorry no can do' |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | |
|---|