[Bug 58602] solaris only: tar '-C' not supported -> (g)make fails
daniel.franke at imbs.uni-luebeck.de
daniel.franke at imbs.uni-luebeck.de
Mon May 19 19:34:02 UTC 2003
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=58602
------- Additional Comments From daniel.franke at imbs.uni-luebeck.de 2003-05-19 19:32 -------
There is a similar command (from solaris tar man-page):
SYNOPSIS
tar c [ bBeEfFhiklnopPqvwX [ 0-7 ] ] [ block ] [ tar-
file ] [ exclude-file ] { -I include-file | -C directory
| file | file } ...
-C directory file
Performs a chdir (see cd(1)) operation on directory
and performs the c (create) or r (replace) operation
on file. Use short relative path names for file. If
file is `.', archive all files in directory. This
option enables archiving files from multiple direc-
tories not related by a close common parent.
It seems that the command order is important. Using
> tar -cf admin.tar admin/ -C .
instead of
> tar -C . -cf admin.tar admin/
works (at least I get a file named "admin.tar" containing the desired files).
More information about the KDevelop-devel
mailing list