Skip to content
Snippets Groups Projects
Commit 914eb49a authored by Ben Gamari's avatar Ben Gamari Committed by Marge Bot
Browse files

rel-eng: Fix mktemp usage in recompress-all

We need a temporary directory, not a file.
parent e5c43259
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ usage :
%.zip : %.tar.xz
echo "[tarxz->zip] $< to $@..."
tmp="$$(mktemp tmp.XXX)" && \
tmp="$$(mktemp -d tmp.XXX)" && \
tar -C "$$tmp" -xf $< && \
cd "$$tmp" && \
zip -9 -r $@ * && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment