summaryrefslogtreecommitdiff
path: root/rel
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-06-22 05:20:36 +0300
committerrinpatch <rinpatch@sdf.org>2019-06-22 05:20:36 +0300
commit1d2332ce79c374f4958b5d554ea96d382e9806fb (patch)
tree50ced1dcabec67141582f0f5b7eea5fc7f1be850 /rel
parent38a803a1f86b459d193aa234d00b1af3895edab1 (diff)
Use uname -m instead of arch for more portability
Diffstat (limited to 'rel')
-rwxr-xr-xrel/files/bin/pleroma_ctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/rel/files/bin/pleroma_ctl b/rel/files/bin/pleroma_ctl
index b0e1874a9..9c67b209b 100755
--- a/rel/files/bin/pleroma_ctl
+++ b/rel/files/bin/pleroma_ctl
@@ -2,7 +2,7 @@
# XXX: This should be removed when elixir's releases get custom command support
detect_flavour() {
- arch="$(arch)"
+ arch="$(uname -m)"
if [ "$arch" = "x86_64" ]; then
arch="amd64"
elif [ "$arch" = "armv7l" ]; then