1 2 3 4 5 6 7 8 9 10
#!/bin/sh script="$0" path="$(dirname $(realpath "$script"))" dist="$path/dist" site="$path/site" [ ! -d "$dist" ] && mkdir "$dist" shblg -i "$site" -o "$dist"