Bug 65070
| Summary: | spaces in filepath not passed to gzip | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Neil Prockter <prockter> | 
| Component: | rpm-build | Assignee: | Jeff Johnson <jbj> | 
| Status: | CLOSED UPSTREAM | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.3 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2005-09-29 21:46:33 UTC | Type: | --- | 
| Regression: | --- | Mount Type: | --- | 
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Should be the same deal as queries. *** This bug has been marked as a duplicate of 64007 *** but how do i quote the current working directory? rpm -bb package.tar.gz fails if the cwd has a space in it, how do I quote that? I know I could type rpm -bb /lots/of/dirs/down/in/here\\\ somewhere/oh/here/it/is/carpel/syndrome/time/package.tar.gz so can I have this a feature request? Closing bugs on older, no longer supported, releases. Apologies for any lack of response. For RPM issues, please try a current release such as Fedora Core 4; if bugs persist, please open a new issue. | 
Description of Problem: rpm -bb fails to work if there is a space in the current working directory and the file is located there or if the filename contains a space Version-Release number of selected component (if applicable): 4.0.4 How Reproducible: everytime Steps to Reproduce: 1. mkdir /a dir 2. cd /a dir 3. cp package.tar.gz . 4. rpm -bb package.tar.gz Actual Results: Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.93492 + umask 022 + cd /usr/src/redhat/BUILD + cd /usr/src/redhat/BUILD + rm -rf File-Scan-0.26 + /bin/gzip -dc /a dir/package.tar.gz gzip: /a.gz: No such file or directory gzip: dir/package.tar.gz: No such file or directory Expected Results: fine package build Additional Information: also fails if called as rpm -bb /a\ dir/package.tar.gz i suppose this is related to 64007