Ensure that bash is used with the tox users script

This commit is contained in:
Bob Mottram 2016-08-23 20:01:04 +01:00
parent f73be0be53
commit 6164a57878
No known key found for this signature in database
GPG Key ID: 0452CC7CEA982E38
1 changed files with 1 additions and 1 deletions

View File

@ -760,7 +760,7 @@ fi
EOF EOF
chroot "$rootdir" chown $MY_USERNAME:$MY_USERNAME /usr/bin/list-tox-users chroot "$rootdir" chown $MY_USERNAME:$MY_USERNAME /usr/bin/list-tox-users
chroot "$rootdir" chmod +x /usr/bin/list-tox-users chroot "$rootdir" chmod +x /usr/bin/list-tox-users
echo "* * * * * $MY_USERNAME /usr/bin/list-tox-users > /dev/null" >> $rootdir/etc/crontab echo "* * * * * $MY_USERNAME bash -c /usr/bin/list-tox-users > /dev/null" >> $rootdir/etc/crontab
if [[ $VARIANT != "usb" ]]; then if [[ $VARIANT != "usb" ]]; then
# log in automatically # log in automatically