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 19d35d3..cac6528 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 101b801..d5fb1b4 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 48ad9d1..71a7e18 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 68909f4..b998e36 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 b722ae4..c143b4c 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 d79f4d7..23fd782 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 ca8c410..7c466be 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 f887484..5cbdffe 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;