[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [arm/master] Accounting for Fedora's UsrMove feature
commit 2ac1ec5a6364389beeac8075eb6a6302606302f9
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date: Mon May 28 12:42:25 2012 -0700
Accounting for Fedora's UsrMove feature
Patch by miceliux to account for Fedora's UsrMove feature...
https://trac.torproject.org/5973
---
arm | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/arm b/arm
index a6dba93..0a23aaa 100755
--- a/arm
+++ b/arm
@@ -1,5 +1,9 @@
#!/bin/sh
-if [ "$0" = /usr/bin/arm ]; then
+
+# Also looking in /bin/arm because of the UsrMove feature on Fedora...
+# https://trac.torproject.org/5973
+
+if [ "$0" = /usr/bin/arm ] || [ "$0" = /bin/arm ]; then
arm_base=/usr/share/arm/
else
arm_base=$( dirname "$0" )/src/
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits