]> p2p-next.cs.pub.ro Git - cs-p2p-next.git/commitdiff
Tribler: renamed scripts folder.
authorAdriana Draghici <adriana008@gmail.com>
Sun, 15 Nov 2009 16:23:52 +0000 (18:23 +0200)
committerAdriana Draghici <adriana008@gmail.com>
Sun, 15 Nov 2009 16:23:52 +0000 (18:23 +0200)
tribler-mod/scripts/README [moved from tribler-mod/scrips/README with 100% similarity]
tribler-mod/scripts/make_changes.sh [moved from tribler-mod/scrips/make_changes.sh with 93% similarity]
tribler-mod/scripts/modified_files_DEBUG [moved from tribler-mod/scrips/modified_files_DEBUG with 100% similarity]
tribler-mod/scripts/modified_files_DEBUG_NORMAL [moved from tribler-mod/scrips/modified_files_DEBUG_NORMAL with 100% similarity]
tribler-mod/scripts/modify_Connecter.sh [moved from tribler-mod/scrips/modify_Connecter.sh with 89% similarity]
tribler-mod/scripts/modify_all_print.sh [moved from tribler-mod/scrips/modify_all_print.sh with 96% similarity]
tribler-mod/scripts/print_timestamp.sh [moved from tribler-mod/scrips/print_timestamp.sh with 98% similarity]
tribler-mod/scripts/set_DEBUG.sh [moved from tribler-mod/scrips/set_DEBUG.sh with 98% similarity]
tribler-mod/scripts/set_DEBUG_NORMAL.sh [moved from tribler-mod/scrips/set_DEBUG_NORMAL.sh with 98% similarity]
tribler-mod/scripts/undo_changes.sh [moved from tribler-mod/scrips/undo_changes.sh with 90% similarity]
tribler-mod/scripts/unmodify_all_print.sh [moved from tribler-mod/scrips/unmodify_all_print.sh with 94% similarity]

similarity index 93%
rename from tribler-mod/scrips/make_changes.sh
rename to tribler-mod/scripts/make_changes.sh
index 19d35d3ae2f29cbec35e2564d5c41224cc3485c1..cac6528c2b89b461d0f65d0170bd9f0aecdaf204 100755 (executable)
@@ -1,3 +1,6 @@
+#!/bin/bash
+
+
 # Modifies tribler sources to output logging information.
 
 ./modify_all_print.sh 
similarity index 89%
rename from tribler-mod/scrips/modify_Connecter.sh
rename to tribler-mod/scripts/modify_Connecter.sh
index 101b801578e8fc811a5dc64762438cab8c3f4c84..d5fb1b457c38787a1a405a98997218d6fd7e6ded 100755 (executable)
@@ -1,3 +1,4 @@
+#!/bin/bash
 
 sed -i.bak "s/print[ \t]\+'/print >>sys.strderr, \'/g" Tribler/Core/BitTornado/BT1/Connecter.py;
 
similarity index 96%
rename from tribler-mod/scrips/modify_all_print.sh
rename to tribler-mod/scripts/modify_all_print.sh
index 48ad9d12f7db583b5253b3875bf843ba5340ee69..71a7e18c926c1314c3dbef6faefa4b91d261267f 100755 (executable)
@@ -1,2 +1,4 @@
+#!/bin/bash
+
 # Modifies all print instructions in order to output time information.
 for i in $(find -name '*.py' -type f | grep -v '.svn'); do sed -i.bak 's/print[ \t]*>>[ \t]*sys.stderr,/print >>sys.stderr, strftime("%d-%m-%Y %H:%M:%S", localtime())," ",/g' $i; sed -i.bak '1i\from time import localtime, strftime' $i; done;
similarity index 98%
rename from tribler-mod/scrips/print_timestamp.sh
rename to tribler-mod/scripts/print_timestamp.sh
index 68909f46846a63888c32f60cad22eb7388a335f0..b998e36a708d0a8944f38bc551aad27e4ee9f9fe 100755 (executable)
@@ -1,3 +1,4 @@
+#!/bin/bash
 
 # Modifies print instructions in given files in order to output time information.
 if test $# -lt 2 -o \( "-$1" != "-a" -a "-$1" != "-d" \)
similarity index 98%
rename from tribler-mod/scrips/set_DEBUG.sh
rename to tribler-mod/scripts/set_DEBUG.sh
index b722ae4d2828c211e193e0f9de6bed8abfd80819..c143b4c1c554411ffb4d26b9f7a40b8a1176e632 100755 (executable)
@@ -1,3 +1,4 @@
+#!/bin/bash
 
 if test $# -lt 2 -o \( "-$1" != "-f" -a "-$1" != "-t" \)
 then
similarity index 98%
rename from tribler-mod/scrips/set_DEBUG_NORMAL.sh
rename to tribler-mod/scripts/set_DEBUG_NORMAL.sh
index d79f4d701b63775d9693824666edc08c3c0cd915..23fd7826021705b5be80c7b8de88da223c6df8d5 100755 (executable)
@@ -1,4 +1,4 @@
-
+#!/bin/bash
 
 if test $# -lt 2 -o \( "-$1" != "-f" -a "-$1" != "-t" \)
 then
similarity index 90%
rename from tribler-mod/scrips/undo_changes.sh
rename to tribler-mod/scripts/undo_changes.sh
index ca8c4106c372d2d21621595b1938aedd5c0dbc1f..7c466be98a65c842d5efd11e87dfad4cf5c95eab 100755 (executable)
@@ -1,3 +1,4 @@
+#!/bin/bash
 
 ./unmodify_all_print.sh
 ./set_DEBUG.sh f modified_files_DEBUG
similarity index 94%
rename from tribler-mod/scrips/unmodify_all_print.sh
rename to tribler-mod/scripts/unmodify_all_print.sh
index f88748490b5f9d8ff215e8447e8d67891d61ca90..5cbdffee338a7aa40ff376d35075596e187272d2 100755 (executable)
@@ -1,2 +1,4 @@
+#!/bin/bash
+
 for i in $(find -name '*.py' -type f | grep -v '.svn'); do sed -i.bak 's/print >>sys.stderr, strftime("%d-%m-%Y %H:%M:%S", localtime())," ",/print >>sys.stderr,/g' $i; sed -i.bak '1s/from time import localtime, strftime/ /;t' $i; done;