Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh
if [[ -z "$LIBRARY_PATH" && -d /opt/homebrew ]]; then
echo "Using /opt/homebrew for LIBRARY_PATH and CPATH"
export LIBRARY_PATH=/opt/homebrew/lib
Expand Down
4 changes: 2 additions & 2 deletions docker-run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh

if [[ -z "$GID" ]]; then
GID="$UID"
Expand Down Expand Up @@ -33,4 +33,4 @@ fi

cd /data
fixperms
exec su-exec $UID:$GID /usr/bin/mautrix-meta
exec su-exec $UID:$GID /usr/bin/mautrix-meta $@