Skip to content

Commit

Permalink
Exclude the HOME env variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluecamel committed Oct 8, 2021
1 parent a14d856 commit 1a1769d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_gpu_intel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fi

while IFS='=' read -r name value ; do
echo "export ${name}=\"${value}\"" >> /home/odm/env
done < <(env)
done < <(env | grep -v "HOME")
chown odm:odm /home/odm/env

su - odm -c "source /home/odm/env; cd /var/www; echo $WO_DEFAULT_NODES; /usr/bin/node /var/www/index.js $@"

0 comments on commit 1a1769d

Please sign in to comment.