Skip to content

Arguments are not properly escaped #38

@HaleTom

Description

@HaleTom

The '*' in the following is not preserved, instead expanding to all files in the directory:

% pac -U station-1.34.1-1-x86_64.pkg.tar.xz --overwrite '*'
loading packages...                                                                                                                                                                                                
warning: station-1.34.1-1 is up to date -- reinstalling         
error: could not open file browserX-1.34.1-x86_64.AppImage: Unrecognized archive format                                                                                                                            
error: 'browserX-1.34.1-x86_64.AppImage': cannot open package file  
error: could not open file PKGBUILD: Unrecognized archive format     
error: 'PKGBUILD': cannot open package file                                  
error: could not open file squashfs-root: Error reading fd 5                                                                                                                                                      
error: 'squashfs-root': cannot open package file                                                                                                                                                                  
error: 'station-1.34.1-1-x86_64.pkg.tar.xz': duplicate target

The files in the directory are:

% ls
browserX-1.33.0-x86_64.AppImage*  squashfs-root/
browserX-1.34.1-x86_64.AppImage*  station-1.34.1-1-x86_64.pkg.tar.xz
PKGBUILD

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions