1 2 3 4 5 6 7
#!/bin/bash -e OUT=$1 shift LIBPATH=$($@) cp -f $LIBPATH $OUT echo "$OUT: $LIBPATH" > ${OUT}.d