1 2 3 4 5 6 7
#!/bin/bash LOCAL_DIR="$HOME"/.eagle mkdir -p "$LOCAL_DIR" cp -aru /opt/eagle/* "$LOCAL_DIR" exec "$LOCAL_DIR"/bin/eagle "$@"