Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Support multiple arguments to patch.sh #9

Open
The-Compiler opened this issue Nov 29, 2016 · 0 comments
Open

Support multiple arguments to patch.sh #9

The-Compiler opened this issue Nov 29, 2016 · 0 comments

Comments

@The-Compiler
Copy link
Member

$ bash patch.sh qt5-{base,imageformats,virtualkeyboard,webkit}                                               
+ ((  4 == 0  ))
+ packages='qt5-base qt5-imageformats qt5-virtualkeyboard qt5-webkit'
+ patch_qt 'qt5-base qt5-imageformats qt5-virtualkeyboard qt5-webkit'
+ for pkg in '"$@"'
+ [[ qt5-base qt5-imageformats qt5-virtualkeyboard qt5-webkit != *qt5-* ]]
+ grep -q _orig_pkgname qt5-base qt5-imageformats qt5-virtualkeyboard qt5-webkit/PKGBUILD
grep: qt5-base: Is a directory
grep: qt5-imageformats: Is a directory
grep: qt5-virtualkeyboard: Is a directory
+ sed -i 's|^pkgname=.*|&-debug\n_orig_pkgname=${pkgname/-debug/}|' qt5-base qt5-imageformats qt5-virtualkeyboard qt5-webkit/PKGBUILD
sed: couldn't edit qt5-base: not a regular file
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant