mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
61e362add9
Makes 9term.app work again (not put you in an x86_64 jail).
18 lines
265 B
Bash
Executable file
18 lines
265 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ -e ~/.bashrc ] ; then
|
|
. ~/.bashrc
|
|
fi
|
|
arch=x86_64
|
|
if arch -arch arm64 date >/dev/null 2>&1; then
|
|
arch=arm64
|
|
fi
|
|
PLAN9=${PLAN9:-/usr/local/plan9}
|
|
|
|
bin=$PLAN9/bin
|
|
IFS=$'\n'
|
|
|
|
for file in $($bin/macargv)
|
|
do
|
|
arch -arch $arch $bin/macedit "$file"
|
|
done
|