From 18fec4b46a90a112fb6ba2d90c28c8a088a32467 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Sun, 18 Jun 2017 16:42:43 -0600
Subject: [PATCH] Keep unstripped executables in the target directory

---
 cook.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/cook.sh b/cook.sh
index 1e71c4f29..1e13b5d9f 100755
--- a/cook.sh
+++ b/cook.sh
@@ -191,8 +191,7 @@ function op {
                     mkdir -p "../stage/$BINDIR"
                     for bin in $bins
                     do
-                        cp -v "$bin" "../stage/$BINDIR/$(basename $bin)"
-                        strip -v "../stage/$BINDIR/$(basename $bin)"
+                        strip -v "$bin" -o "../stage/$BINDIR/$(basename $bin)"
                     done
                 fi
             fi
-- 
GitLab