Commit c16d4478 authored by Ben Gamari's avatar Ben Gamari 🐢 Committed by Ben Gamari

patch-tool: Unpack using --pristine

parent 47ff5d57
......@@ -78,7 +78,7 @@ unpack_patch_all() {
unpack_pkg() {
local pkg=$1
pushd packages
cabal unpack $pkg
cabal unpack --pristine $pkg
local pkg_dir="$(ls -d $pkg* | head)"
if [ -z "$pkg_dir" ]; then
echo "failed to unpack $pkg"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment