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

Support multiple arguments to patch.sh #9

Description

@The-Compiler
$ 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions