clouseau/src/scripts/gen_script.sh

12 lines
206 B
Bash
Raw Normal View History

#!/bin/sh
cat <<-ENDOFMESSAGE>clouseau
#!/bin/sh
if [ \$# -lt 1 ]
then
echo "Usage: clouseau <executable> [executable parameters]"
fi
LD_PRELOAD="$1/libclouseau.so" "\$@"
ENDOFMESSAGE
chmod +x clouseau