X-Git-Url: http://git.pippins.net/embedvideo/.git/static/git-logo.png?a=blobdiff_plain;f=scripts%2Frestore-header.sh;h=8374076c69134d8cf085f70f14ea56af919b1b05;hb=a74a89d79bb29b97ac1b6710e1f52a832793e6ff;hp=2c17e854c33f2fdedbe6456d3102b1faa35a9eb4;hpb=5b2e55bcb1d9c762ead7539af69fe41ae0e1a76e;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