aboutsummaryrefslogtreecommitdiff
path: root/scripts/auto-build/pure-data-cvs-rsync-checkout
blob: 5a9030bd874d486317a14864bd610012dab6645e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/sh

SYSTEM=`uname -s`
DATE=`date +%Y-%m-%d`
TIME=`date +%H.%M.%S`
SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`
LOGFILE=/home/pd/logs/${DATE}_-_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt

touch $LOGFILE

chown -R pd /home/pd/                                 >> $LOGFILE 2>&1
chmod -R u+rw /home/pd/                               >> $LOGFILE 2>&1

# extended
echo "------------------------------------------------------------"	>> $LOGFILE 2>&1
echo "pd-extended"	>> $LOGFILE 2>&1
echo "------------------------------------------------------------"	>> $LOGFILE 2>&1
su pd -c "/home/pd/rsync/pd-extended/pure-data/scripts/update-developer-layout.sh"  \
	 >> $LOGFILE 2>&1

# devel
echo "------------------------------------------------------------"	>> $LOGFILE 2>&1
echo "pd-devel"	>> $LOGFILE 2>&1
echo "------------------------------------------------------------"	>> $LOGFILE 2>&1
su pd -c "/home/pd/rsync/pd-devel/pure-data/scripts/update-developer-layout.sh"  \
	 >> $LOGFILE 2>&1

# main
echo "------------------------------------------------------------"	>> $LOGFILE 2>&1
echo "pd-main"	>> $LOGFILE 2>&1
echo "------------------------------------------------------------"	>> $LOGFILE 2>&1
su pd -c "/home/pd/rsync/pd-main/pure-data/scripts/update-developer-layout.sh"  \
	 >> $LOGFILE 2>&1