propellor spin

This commit is contained in:
Joey Hess 2014-06-06 22:49:55 -04:00
parent c3add08491
commit a0aac39244
Failed to extract signature
1 changed files with 2 additions and 2 deletions

View File

@ -343,8 +343,8 @@ obnamRepos :: [String] -> Property
obnamRepos rs = propertyList ("obnam repos for " ++ unwords rs)
(mkbase : map mkrepo rs)
where
mkbase = mkdir "/home/joey/lib"
`before` mkdir "/home/joey/backup"
mkbase = mkdir "/home/joey/lib/backup"
`requires` mkdir "/home/joey/lib"
mkrepo r = mkdir ("/home/joey/lib/backup/" ++ r ++ ".obnam")
mkdir d = File.dirExists d
`before` File.ownerGroup d "joey" "joey"