Skip to content
Snippets Groups Projects
Commit 14ddc9db authored by Claus-Justus Heine's avatar Claus-Justus Heine
Browse files

Update (don't use /tmp).

parent 5ae9e2f1
No related branches found
No related tags found
No related merge requests found
...@@ -3,13 +3,15 @@ ...@@ -3,13 +3,15 @@
# Generate a snapshot from svn. This script tries to check-out a new # Generate a snapshot from svn. This script tries to check-out a new
# copy from svn, and then run "autoreconf" and "make distcheck". # copy from svn, and then run "autoreconf" and "make distcheck".
MYTMPDIR="${TMPDIR:-/tmp}/alberta.$$" MYTMPDIR="${TMPDIR:-/disk1/claus/tmp}/alberta.$$"
SVNREPOS=https://scwww.math.uni-augsburg.de/repos/alberta SVNREPOS=https://scwww.math.uni-augsburg.de/repos/alberta
ALBERTADIST=trunk/albertadist ALBERTADIST=trunk/albertadist
DATE=$(date --utc '+%Y%m%d') DATE=$(date --utc '+%Y%m%d')
SNAPSHOTDIR=/hosts/www/www/htdocs/IAM/homepages/claus/download/alberta/snapshots SNAPSHOTDIR=/hosts/www/www/htdocs/IAM/homepages/claus/download/alberta/snapshots
NSNAPSHOTS=10 # keep only the most recent 10 snapshots NSNAPSHOTS=10 # keep only the most recent 10 snapshots
test -d ${TMPDIR} || mkdir -p ${TMPDIR}
# Pray that we have a running ssh-agent (and only one ...) # Pray that we have a running ssh-agent (and only one ...)
: ${SSH_AGENT_PID=`ps -u claus |grep ssh-agent|awk '{ print $1; }'`} : ${SSH_AGENT_PID=`ps -u claus |grep ssh-agent|awk '{ print $1; }'`}
: ${SSH_AUTH_SOCK=`find /tmp -user claus -name "agent.[0-9]*"`} : ${SSH_AUTH_SOCK=`find /tmp -user claus -name "agent.[0-9]*"`}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment