[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [arm/master] More fixes for issues caught by weasel
commit c43535aee0c9038fefa7867ffc511dea4e258568
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
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@xxxxxxxxx>
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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits