Commit f7808b6c authored by Nico Schottelius's avatar Nico Schottelius

add correct to for isg_order

Signed-off-by: default avatarNico Schottelius <nico@kr.ethz.ch>
parent 623b1e24
......@@ -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
......@@ -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
......
......@@ -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
......@@ -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"
......
#!/bin/sh
set -x
BDIR=~/b/ikiwiki
BDIR=~/temp/build/ikiwiki
( cd "${BDIR}" && git describe )
......
......@@ -5,4 +5,4 @@
# Last Modified: -
#
find "$1" -exec chmod og-rwx {} \;
find "$1" -exec chmod u+rw,og-rwx {} \;
#!/bin/sh
x-terminal-emulator -name mutt -e mutt
x-terminal-emulator -name mutt -e mutt "$@"
......@@ -2,4 +2,4 @@
[ -x /usr/bin/urxvtcd ] && exec /usr/bin/urxvtcd
exec urxvtc
exec urxvtc "$@"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment