Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions .github/workflows/ruby.yml

This file was deleted.

5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Release Notes and Change Log
============================

1.17.1 (October 30, 2025) TJ Fork
^^^^^^^^^^^^^^^^^^^^^^^^

* Filter newer style bash functions out of shell script template's .install-metadata file.

1.17.0 (October 2, 2025)
^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
2 changes: 1 addition & 1 deletion lib/fpm/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module FPM
VERSION = "1.17.0"
VERSION = "1.17.1"
end
2 changes: 1 addition & 1 deletion templates/sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function save_environment(){

# just piping env to a file doesn't quote the variables. This does
# filter out multiline junk, _, and functions. _ is a readonly variable.
env | grep -v "^_=" | grep -v "^[^=(]*()=" | egrep "^[^ ]+=" | while read ENVVAR ; do
env | grep -v "^_=" | grep -v "^[^=(]*()=" | grep -v "^BASH_FUNC_.*%%=" |egrep "^[^ ]+=" | while read ENVVAR ; do
local NAME=${ENVVAR%%=*}
# sed is to preserve variable values with dollars (for escaped variables or $() style command replacement),
# and command replacement backticks
Expand Down