diff options
author | Erich Eckner <git@eckner.net> | 2020-03-05 10:12:42 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-03-05 10:12:42 +0100 |
commit | 2daf5647b6961ff6281d5c89b50783e5258a6b4b (patch) | |
tree | 0ff7915683c1d5e0095605912940f94cb65c1643 /community/vamp-aubio-plugins | |
parent | 3271f6ab8a92141c0e6e696b327198795f611006 (diff) | |
download | packages-2daf5647b6961ff6281d5c89b50783e5258a6b4b.tar.xz |
do not overwrite prepare if it already existed
Diffstat (limited to 'community/vamp-aubio-plugins')
-rw-r--r-- | community/vamp-aubio-plugins/PKGBUILD | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/community/vamp-aubio-plugins/PKGBUILD b/community/vamp-aubio-plugins/PKGBUILD index c07e32f7..7d884b2e 100644 --- a/community/vamp-aubio-plugins/PKGBUILD +++ b/community/vamp-aubio-plugins/PKGBUILD @@ -1,5 +1,11 @@ -prepare() { - sed -i ' - 48 s/x86_64/i686/ - ' vamp-aubio-plugins-0.5.1/wscript -} +eval "$( + { + declare -f prepare || \ + printf 'prepare() {\n}\n' + } \ + | sed ' + $i sed -i '"'"' \ + 48 s/x86_64/i686/ \ + '"'"' vamp-aubio-plugins-0.5.1/wscript + ' +)" |