Megatest

mk_wrapper at [03a1b16c63]
Login

File utils/mk_wrapper artifact af950f4763 part of check-in 03a1b16c63


#!/bin/bash

prefix=$1
cmd=$2

echo "#!/bin/bash"
if [ "$LD_LIBRARY_PATH" != "" ];then
  echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
fi

fullcmd="$prefix/bin/$cmd"

echo "$fullcmd \$*"