[Rpm-maint] [rpm-software-management/rpm] rpm-build: %setup and %autosetup crashes on directories with spaces (#1644)
Vitaly Zaitsev
notifications at github.com
Sun Apr 18 18:24:37 UTC 2021
I have an upstream tarball with the "Foo Bar-1.0.0" directory name.
Trying: `%autosetup -n "Foo Bar-%{version}"`, but got an error:
```
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eAQck5
+ umask 022
+ cd /home/vitaly/rpmbuild/BUILD
+ cd /home/vitaly/rpmbuild/BUILD
+ rm -rf 'Foo -q
'
+ /usr/bin/gzip -dc /home/vitaly/rpmbuild/SOURCES/Foo.Bar-1.0.0.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd 'Foo -q
'
/var/tmp/rpm-tmp.eAQck5: line 41: cd: $'Foo -q\n': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.eAQck5 (%prep)
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1644
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210418/eb5c55cf/attachment.html>
More information about the Rpm-maint
mailing list