X-Git-Url: http://git.pippins.net/embedvideo/.git/static/gitweb.js?a=blobdiff_plain;f=scripts%2Frestore-header.sh;h=8374076c69134d8cf085f70f14ea56af919b1b05;hb=fc128fd4b1e153273aff366d6ce9f75c2b992c40;hp=2c17e854c33f2fdedbe6456d3102b1faa35a9eb4;hpb=9acb0d35f2baaaf165a0f4e2348e2b99f4ee950f;p=backups%2F.git diff --git a/scripts/restore-header.sh b/scripts/restore-header.sh index 2c17e85..8374076 100755 --- a/scripts/restore-header.sh +++ b/scripts/restore-header.sh @@ -1,5 +1,7 @@ #!/bin/sh + export rundir=/tmp/restore-$(date +%Y%m%d%H%M%S) + if ! mkdir $rundir; then echo >&2 "Cannot create temp dir" exit 1