Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Gowee committed Sep 25, 2019
1 parent 02ddcd0 commit cceea2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/before_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ try_compress() {
objdump -file-headers $file || true
stat $file
else
local header=$(objdump -f $file)
local header="$(objdump -f $file)"
if ! echo $header | grep -P "architecture: \s*UNKNOWN" ; then
local target=$(echo $header| grep -oP "(?<=format )\s*[\w-]+" | tr -d '\n' || "")
if [ -n "$target" ] ; then
Expand Down

0 comments on commit cceea2b

Please sign in to comment.