#!/usr/bin/env bash if [[ "$(uname -s)" =~ (Linux|CYGWIN_NT-) ]]; then install -D "$1" "$2" else mkdir -p "$(dirname "$2")" install "$1" "$2" fi