[tor-commits] [arm/master] Accounting for Fedora's UsrMove feature
atagar at torproject.org
atagar at torproject.org
Mon May 28 19:43:37 UTC 2012
commit 2ac1ec5a6364389beeac8075eb6a6302606302f9
Author: Damian Johnson <atagar at torproject.org>
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/
More information about the tor-commits
mailing list