diff options
author | Max Rees <maxcrees@me.com> | 2019-07-21 04:02:27 -0400 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2019-07-21 04:43:04 -0400 |
commit | 23bcb3767f6d16eaba523055f0b8474bfbae16ba (patch) | |
tree | 95327b88bac6651c45ca92c099d4fb300716ba49 /system/ruby | |
parent | d3eb7058d8f66a7fa94c262314df4c95a76a36fc (diff) | |
download | packages-23bcb3767f6d16eaba523055f0b8474bfbae16ba.tar.gz packages-23bcb3767f6d16eaba523055f0b8474bfbae16ba.tar.bz2 packages-23bcb3767f6d16eaba523055f0b8474bfbae16ba.tar.xz packages-23bcb3767f6d16eaba523055f0b8474bfbae16ba.zip |
system/*: initial bashism removal
Diffstat (limited to 'system/ruby')
-rw-r--r-- | system/ruby/APKBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/ruby/APKBUILD b/system/ruby/APKBUILD index 67b89f845..1a26b65b3 100644 --- a/system/ruby/APKBUILD +++ b/system/ruby/APKBUILD @@ -73,7 +73,7 @@ replaces="ruby-etc ruby-gems" _gemdir="/usr/lib/ruby/gems/$_abiver" _rubydir="/usr/lib/ruby/$_abiver" -_chost="${CHOST/-foxkit-/-}" +_chost="$(printf '%s' "$CHOST" | sed 's/-foxkit-/-/')" case "$CARCH" in x86 | pmmx) _arch="i386";; @@ -136,7 +136,7 @@ package() { rm -R "$pkgdir"$_gemdir/cache/* if [ -d "$pkgdir"/usr/local ]; then - local f=$(cd "$pkgdir" ; find usr/local -type f) + local f="$(cd "$pkgdir" ; find usr/local -type f)" if [ -n "$f" ]; then error "Found files in /usr/local:" echo "$f" |