docker-jenkins-integration-.../03_setup_root_path.sh

12 lines
271 B
Bash
Raw Normal View History

2022-03-29 12:43:39 +02:00
#!/usr/bin/with-contenv bash
echo "root path: $WWW_ROOT_PATH"
if [[ ! -z $WWW_ROOT_PATH ]]
then
echo "Set www-root-path to $WWW_ROOT_PATH"
echo "www-root-path=$WWW_ROOT_PATH" >> /etc/rstudio/rserver.conf
else
echo "Not setting www-root-path"
fi