aboutsummaryrefslogtreecommitdiffstats
path: root/community/breeze-icons/busybox-sed-i.patch
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2020-03-17 20:42:57 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2020-03-17 21:05:45 +0000
commit7c0750ee17855858db0cc3ad23512ce13d5d0a79 (patch)
tree8bab64cd9969225c785c738d8273bd5a435badb5 /community/breeze-icons/busybox-sed-i.patch
parentab060924f0377cc0af5ff3d7e60527105125a649 (diff)
downloadaports-7c0750ee17855858db0cc3ad23512ce13d5d0a79.tar.bz2
aports-7c0750ee17855858db0cc3ad23512ce13d5d0a79.tar.xz
community/breeze-icons: add patch for busybox sed
Diffstat (limited to 'community/breeze-icons/busybox-sed-i.patch')
-rw-r--r--community/breeze-icons/busybox-sed-i.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/breeze-icons/busybox-sed-i.patch b/community/breeze-icons/busybox-sed-i.patch
new file mode 100644
index 0000000000..1a5229faff
--- /dev/null
+++ b/community/breeze-icons/busybox-sed-i.patch
@@ -0,0 +1,15 @@
+purpose: busybox sed -i expects the argument directly attached, no space is
+allowed.
+diff --git a/generate-24px-versions.sh b/generate-24px-versions.sh
+index 4d73a83..4448776 100644
+--- a/generate-24px-versions.sh
++++ b/generate-24px-versions.sh
+@@ -15,7 +15,7 @@ case $(sed --help 2>&1) in
+ *)
+ echo "Using POSIX-style sed arguments"
+ sed_i () {
+- sed -i '' "$@"
++ sed -i'' "$@"
+ }
+ ;;
+ esac