Skip to content

Commit 8d09cff

Browse files
committed
Fix keys handling
1 parent 2af2c24 commit 8d09cff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/Main.hs

+2-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ ensureKeys keysDir = do
9393
case mKeys of
9494
Just _keys -> do
9595
echo "Using keys from environment"
96-
bash_ "echo \"$KEYS\" | base64 -d | tar xz" []
96+
mkdir keysDir
97+
bash_ ("echo \"$KEYS\" | base64 -d | tar xvz -C " <> keysDir) []
9798
Nothing -> do
9899
echo $ "Creating new repository keys in " <> toTextIgnore keysDir
99100
liftIO $ createKeys keysDir

0 commit comments

Comments
 (0)