[Bug 859675] Review Request: wcd - chdir for DOS and Unix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=859675

--- Comment #12 from Erwin Waterlander <waterlan@xxxxxxxxx> ---
New files
Spec URL: http://waterlan.home.xs4all.nl/fedora/wcd.spec
SRPM URL: http://waterlan.home.xs4all.nl/fedora/wcd-5.2.2-5.fc17.src.rpm

Hi Eduardo,

Thanks again.

The old configs need to be overwritten. I have added a comment to explain.

Also for the man page wcd is an exception. I have added a comment for that too.
The manual gets the name of the package and the name of the defined
alias/function. The name of the binary can vary and actually doesn't matter
much. Wcd is different than all other packages in the sense that it must be
executed via a shell alias/function.

The reason behind this is that wcd has to execute a 'cd' command and the 'cd'
command is a shell built-in function. Therefore a trick has to be done to
execute a cd command. The binary creates a shell script. And the generated
shell script is sourced in the current shell via an alias/function.

best regards,
Erwin Waterlander

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]