Megatest

mk_wrapper at [348da11a39]
Login

File utils/mk_wrapper artifact d96f80e4dc part of check-in 348da11a39


#!/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 \"\$@\""