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