pushd and popd are bash commands (man pushd) 

On Wed, 2018-07-18 at 22:17 +0300, Vascom wrote:
> It is same as cd <directory>
> ...
> cd ..
> 
> But build/install can finish in some internal directory and not exit
> to top level. So pushd popd always work properly.
> 
> ср, 18 июл. 2018 г., 22:10 Germano Massullo <germano.massullo@gmail.c
> om>:
> > Hi, I need some help in understanding how popd and pushd work in
> > rpm
> > 
> > files creation.
> > 
> > Today I started working on enhancing darktable spec file [1] in
> > order to
> > 
> > add basecurve-tool and noise-tool subpackages, and I had some
> > 
> > difficulties in understanding popd/pushd usage in that spec file.
> > 
> > Despite is a package that I maintain, the popd/pushd usage has been
> > 
> > implemented by past Fedora maintainers.
> > 
> > I have spent the afternoon searching on internet and reading again
> > the
> > 
> > guide https://rpm-packaging-guide.github.io/
> > 
> > and I also made some practise after having read StackOverflow
> > question
> > 
> > [2], but I still do not get it.
> > 
> > 
> > 
> > Thank you for your time
> > 
> > 
> > 
> > [1]: https://src.fedoraproject.org/rpms/darktable/blob/f28/f/darkta
> > ble.spec
> > 
> > [2]:
> > 
> > https://unix.stackexchange.com/questions/77077/how-do-i-use-pushd-a
> > nd-popd-commands
> > 
> > 






-- 
Sérgio M. B.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/NCETUJXAULLW2443NLPY6ZYHSP7INP3R/

Reply via email to