How can I disable command substitution in the EOF
heredoc?
#!/bin/bash
executableFile="executableFile.sh"
firstFolder="blablabla"
cat <<EOF >$executableFile
secondFolder="blablabla2"
if [ \$(cat something) == "blub" ]; then
echo $firstFolder
echo $secondFolder
fi
EOF
The value in the if clause should be requested when executing the executableFile