summarylogtreecommitdiffstats
path: root/hx.sh
diff options
context:
space:
mode:
authorKlaus Alexander Seistrup2023-10-26 21:54:44 +0200
committerKlaus Alexander Seistrup2023-10-26 21:54:44 +0200
commit8f81cc00047e6c7998e2d27ec68d8beaa4d5015a (patch)
treef5a9abc2d62da9aea0571843387fbb4b3dbdaba1 /hx.sh
parentedbe7eea406b503a2617eb1204e5a2249d29aade (diff)
downloadaur-8f81cc00047e6c7998e2d27ec68d8beaa4d5015a.tar.gz
Let's just use the simplest script possible
Diffstat (limited to 'hx.sh')
-rw-r--r--hx.sh14
1 files changed, 1 insertions, 13 deletions
diff --git a/hx.sh b/hx.sh
index b228098d34d8..cdaaf273a527 100644
--- a/hx.sh
+++ b/hx.sh
@@ -1,23 +1,11 @@
#!/bin/sh
-ME="${0##*/}"
-
# Copyright © 2022 Klaus Alexander Seistrup <klaus@seistrup.dk>
# Licensed under the GNU Affero General Public License v3+.
#
# Updated: 2023-10-26
-die() {
- printf '%s: %s\n' "$ME" "$*" >&2
- exit 1
-}
-
-export HELIX_DEFAULT_RUNTIME='/usr/lib/helix/runtime'
-
-export HELIX_HX='/usr/lib/helix/hx'
-test -x "$HELIX_HX" || die 'cannot find helix:' "$HELIX_HX"
-
-exec "$HELIX_HX" "$@"
+exec helix "$@"
exit 127
# eof