view libtomcrypt/updatemakes.sh @ 1154:b1fabf797bd3

Don't display the MOTD when an explicit command is run. (possibly via authorized_keys(5) restrictions), even when a pseudo-terminal has been allocated for the session. In other words, only display the MOTD when the server starts the user's default shell.
author Guilhem Moulin <guilhem@fripost.org>
date Wed, 21 Oct 2015 22:08:47 +0800
parents 0cbe8f6dbf9e
children 6dba84798cd5
line wrap: on
line source

#!/bin/bash

bash genlist.sh > tmplist

perl filter.pl makefile tmplist
mv -f tmp.delme makefile

perl filter.pl makefile.icc tmplist
mv -f tmp.delme makefile.icc

perl filter.pl makefile.shared tmplist
mv -f tmp.delme makefile.shared

perl filter.pl makefile.unix tmplist
mv -f tmp.delme makefile.unix

perl filter.pl makefile.msvc tmplist
sed -e 's/\.o /.obj /g' < tmp.delme > makefile.msvc

rm -f tmplist
rm -f tmp.delme