add correct to for isg_order

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2010-09-08 17:10:30 +02:00
parent 623b1e2456
commit f7808b6c8e
8 changed files with 18 additions and 13 deletions

2
3xterm
View file

@ -5,3 +5,5 @@ XTERM=x-terminal-emulator
$XTERM -ls -title "--irst 0n3xx" &
$XTERM -ls -title ">>> 2nd <<<" &
$XTERM -ls -title "www.3rd.xterm" &
sleep 0.5
i3-msg mh

View file

@ -55,7 +55,6 @@ fi
sendmail="/usr/sbin/sendmail"
to="support@inf.ethz.ch nicosc@ethz.ch"
to="nicosc@ethz.ch"
from="${NETHZ_USERNAME}@ethz.ch"
prof="$1"; shift

View file

@ -8,8 +8,8 @@ if [ -z "$SLEEP" ]; then
fi
while true; do
fetchmail >/dev/null ;
offlineimap
fetchmail >/dev/null
# offlineimap
echo "Mails abgeholt, schlafe nun $SLEEP Sekunde(n)"
sleep $SLEEP;
done

View file

@ -19,6 +19,9 @@
#
# Submit solution according to http://edu.panter.ch/FormelleBedingungenUebungenBetriebssysteme
#
# Good information about shell/mail sending:
# http://www.shelldorado.com/articles/mailattachments.html
#
################################################################################
@ -27,11 +30,11 @@ __pwd="$(pwd -P)"
__mydir="${0%/*}"; __abs_mydir="$(cd "$__mydir" && pwd -P)"
__myname=${0##*/}; __abs_myname="$__abs_mydir/$__myname"
set -x
#set -x
if [ $# -ne 2 ]; then
if [ $# -lt 2 ]; then
cat << eof
$0: <subject> <srcdir>
$0: <subject> <srcdir> [comments]
eof
exit 1
@ -41,6 +44,7 @@ fi
subject_suff="$1"; shift
input="$1"; shift
input_base="${input##*/}"
comments="$@"
self="nschotte"
to="bseelige"
@ -52,10 +56,9 @@ subject_pref="[Betriebssysteme]"
sendmail="/usr/sbin/sendmail"
to_all="${to_q} ${self_q}"
to_all="${self_q}"
#to_all="${self_q}"
# check stuff before sending out
( cd "${input}" && make test && make clean ); ret=$?
if [ "${ret}" -ne 0 ]; then
@ -70,8 +73,9 @@ To: $to_all
Subject: $subject_pref $subject_suff
From: $self_q
$comments
Gesendet mit ${__myname}.
eof
)
cd "${input}/.." && tar c "${input_base}" | gzip -9 | uuencode "${subject_suff}.tar.gz"

View file

@ -1,6 +1,6 @@
#!/bin/sh
set -x
BDIR=~/b/ikiwiki
BDIR=~/temp/build/ikiwiki
( cd "${BDIR}" && git describe )

View file

@ -5,4 +5,4 @@
# Last Modified: -
#
find "$1" -exec chmod og-rwx {} \;
find "$1" -exec chmod u+rw,og-rwx {} \;

2
tmutt
View file

@ -1,2 +1,2 @@
#!/bin/sh
x-terminal-emulator -name mutt -e mutt
x-terminal-emulator -name mutt -e mutt "$@"

View file

@ -2,4 +2,4 @@
[ -x /usr/bin/urxvtcd ] && exec /usr/bin/urxvtcd
exec urxvtc
exec urxvtc "$@"