1
0

link sh to dash

This commit is contained in:
Deven Blake 2021-06-17 08:35:47 -04:00
parent ba49abdc5d
commit 5ed6294f67

View File

@ -0,0 +1,18 @@
#!/bin/sh
set -ex
which sh >/dev/null 2>&1 \
|| exit 1
SH_LOCATION="$(which sh)"
[ -L "$SH_LOCATION" ] \
|| exit 1
which dash >/dev/null 2>&1 \
|| exit 1
unlink "$SH_LOCATION"
ln -s "$(which dash)" "$SH_LOCATION"