6 lines
196 B
Bash
Executable file
6 lines
196 B
Bash
Executable file
#!/bin/bash
|
|
ARCH=${1:-amd64}
|
|
DIR=$(dirname "$(dirname "$(readlink -f "$0")")") || exit
|
|
echo Making Link to $ARCH binary in $DIR/bin/$ARCH/caddy
|
|
rm $DIR/caddy
|
|
ln -s $DIR/bin/$ARCH/caddy $DIR/caddy
|