1 2 3 4 5
#!/bin/bash for s in $(ls $(dirname $0)/../sub); do (cd $(dirname $0)/.. && cabal sandbox add-source sub/$s) done