[tor-commits] [arm/master] More fixes for issues caught by weasel

sebastian at torproject.org sebastian at torproject.org
Sun Apr 24 05:55:00 UTC 2011


commit c43535aee0c9038fefa7867ffc511dea4e258568
Author: Damian Johnson <atagar at torproject.org>
Date:   Sun Dec 12 00:21:28 2010 +0000

    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
    
    
    
    svn:r23926
---
 LICENSE |    2 +-
 arm     |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/LICENSE b/LICENSE
index 94a9ed0..1528791 100644
--- a/LICENSE
+++ b/LICENSE
@@ -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.
 
diff --git a/arm b/arm
index a6d336a..de0b248 100755
--- a/arm
+++ b/arm
@@ -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