[or-cvs] r23926: {arm} More fixes for issues caught by weasel change: noting myself (in arm: release resources/build/debian trunk)

Damian Johnson atagar1 at gmail.com
Sun Dec 12 00:21:32 UTC 2010


Author: atagar
Date: 2010-12-12 00:21:28 +0000 (Sun, 12 Dec 2010)
New Revision: 23926

Added:
   arm/resources/build/debian/pycompat
Modified:
   arm/release/LICENSE
   arm/release/arm
   arm/trunk/LICENSE
   arm/trunk/arm
Log:
More fixes for issues caught by weasel
change: noting myself in the license file
fix: startup script wasn't hanlding unusual paths, such as with spaces and dashes
fix: startup script was forking the final process instad of calling exec
fix: initially built diff differed from rebuilt version since it was missing the pycompat



Modified: arm/release/LICENSE
===================================================================
--- arm/release/LICENSE	2010-12-11 16:39:04 UTC (rev 23925)
+++ arm/release/LICENSE	2010-12-12 00:21:28 UTC (rev 23926)
@@ -1,7 +1,7 @@
                     GNU GENERAL PUBLIC LICENSE
                        Version 3, 29 June 2007
 
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Copyright (C) 2009-2010 Damian Johnson <atagar1 at gmail.com>
  Everyone is permitted to copy and distribute verbatim copies
  of this license document, but changing it is not allowed.
 

Modified: arm/release/arm
===================================================================
--- arm/release/arm	2010-12-11 16:39:04 UTC (rev 23925)
+++ arm/release/arm	2010-12-12 00:21:28 UTC (rev 23926)
@@ -1,13 +1,13 @@
 #!/bin/sh
-if [ $0 = /usr/bin/arm ]; then
+if [ "$0" = /usr/bin/arm ]; then
   arm_base=/usr/share/arm/
 else
-  arm_base=$( dirname $0 )/src/
+  arm_base=$( dirname "$0" )/src/
 fi
 
-python ${arm_base}prereq.py
+python "${arm_base}prereq.py"
 
 if [ $? = 0 ]; then
-  python -W ignore::DeprecationWarning ${arm_base}starter.py $*
+  exec python -W ignore::DeprecationWarning "${arm_base}starter.py" $*
 fi
 

Added: arm/resources/build/debian/pycompat
===================================================================
--- arm/resources/build/debian/pycompat	                        (rev 0)
+++ arm/resources/build/debian/pycompat	2010-12-12 00:21:28 UTC (rev 23926)
@@ -0,0 +1 @@
+2

Modified: arm/trunk/LICENSE
===================================================================
--- arm/trunk/LICENSE	2010-12-11 16:39:04 UTC (rev 23925)
+++ arm/trunk/LICENSE	2010-12-12 00:21:28 UTC (rev 23926)
@@ -1,7 +1,7 @@
                     GNU GENERAL PUBLIC LICENSE
                        Version 3, 29 June 2007
 
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Copyright (C) 2009-2010 Damian Johnson <atagar1 at gmail.com>
  Everyone is permitted to copy and distribute verbatim copies
  of this license document, but changing it is not allowed.
 

Modified: arm/trunk/arm
===================================================================
--- arm/trunk/arm	2010-12-11 16:39:04 UTC (rev 23925)
+++ arm/trunk/arm	2010-12-12 00:21:28 UTC (rev 23926)
@@ -1,13 +1,13 @@
 #!/bin/sh
-if [ $0 = /usr/bin/arm ]; then
+if [ "$0" = /usr/bin/arm ]; then
   arm_base=/usr/share/arm/
 else
-  arm_base=$( dirname $0 )/src/
+  arm_base=$( dirname "$0" )/src/
 fi
 
-python ${arm_base}prereq.py
+python "${arm_base}prereq.py"
 
 if [ $? = 0 ]; then
-  python -W ignore::DeprecationWarning ${arm_base}starter.py $*
+  exec python -W ignore::DeprecationWarning "${arm_base}starter.py" $*
 fi
 



More information about the tor-commits mailing list