]> granicus.if.org Git - jq/commitdiff
Fix cross-compile tmp dir removal
authorJay Satiro <raysatiro@yahoo.com>
Sat, 22 Oct 2016 20:00:44 +0000 (16:00 -0400)
committerNico Williams <nico@cryptonector.com>
Mon, 23 Jan 2017 21:10:57 +0000 (15:10 -0600)
- cd out of the tmp dir before attempting to remove it.

scripts/crosscompile

index 127cbb57e992ee928bb7d03cc7c495599821a1c5..77af751fa32cff9c8f49fb96d33c2b132d3036c3 100755 (executable)
@@ -38,5 +38,6 @@ set -x
 for jq in `find . -type f \( -name jq -o -name jq.exe \) -print`; do
     cp "$jq" ..
 done
+cd ..
 rm -rf tmp