f37 -> f39
[infrastructure.git] / scripts / post-commit
index e57b5ca..1a27502 100755 (executable)
 
 REPOS="$1"
 REV="$2"
-MAILDEST="onelab-svn@one-lab.org"
+MAILDEST="build@onelab.eu"
 #FROM="$MAILDEST"
-FROM="$(id -un)@svn.one-lab.org"
-SUBJECT="svn.one-lab.org - check in:"
+FROM="$(id -un)@svn.onelab.eu"
+SUBJECT="svn.onelab.eu - check in:"
 
 #/usr/share/doc/subversion-1.4.2/tools/hook-scripts/commit-email.pl \
 #        --from "$FROM" \
@@ -70,6 +70,7 @@ $script --from "$FROM" -s "$SUBJECT" --size-limit 102400 "$REPOS" "$REV" "$MAILD
 
 #log-commit.py --repository "$REPOS" --revision "$REV"
 
-# as plc-devel is being dismantled, keep these two separate
-/root/bin/auto-update.sh
-[ -d /plc/devel/data/root/bin ] && sudo -u build /plc/devel/data/root/bin/auto-update.sh
+# this is the actual location of /root/bin (symlinked)
+/root/1lab-scripts/auto-update.sh
+# plc-devel is now dismantled
+#[ -d /plc/devel/data/root/bin ] && sudo -u build /plc/devel/data/root/bin/auto-update.sh