diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2019-07-22 19:43:53 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2019-07-22 19:43:53 +0000 |
commit | b7ffaa4d55e1faf4de0f8e6a2edf372fedfeaf71 (patch) | |
tree | 5948e97345062a759a5ab8d355b0b49849abcfcf /system/ruby/APKBUILD | |
parent | d61220e97e3a4fec8c1e43970cb1408f790c2c2e (diff) | |
parent | 6bd200ed124893c95fda0335b684b26eba0bb743 (diff) | |
download | packages-b7ffaa4d55e1faf4de0f8e6a2edf372fedfeaf71.tar.gz packages-b7ffaa4d55e1faf4de0f8e6a2edf372fedfeaf71.tar.bz2 packages-b7ffaa4d55e1faf4de0f8e6a2edf372fedfeaf71.tar.xz packages-b7ffaa4d55e1faf4de0f8e6a2edf372fedfeaf71.zip |
Merge branch 'bashisms' into 'master'
Purge bashisms, adduser, and addgroup from packages.git
See merge request adelie/packages!293
Diffstat (limited to 'system/ruby/APKBUILD')
-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" |