mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-06 04:35:32 +00:00
Use bsdtar explicitly for 'jake docs' in case the user has GNU tar installed through e.g. fink.
This enables the -s parameter to work.
This commit is contained in:
1 parent
f29dcc9c6b
commit
501c15775e
1 file changed
+4
-4
@@ -11,12 +11,12 @@ if [ -d Foundation.doc ]; then
|
||||
fi
|
||||
|
||||
echo "Processing source files..."
|
||||
tar cf AppKit.doc.tar --exclude='_*' -s /^AppKit/AppKit.doc/ AppKit/*.j AppKit/**/*.j
|
||||
tar xf AppKit.doc.tar
|
||||
bsdtar cf AppKit.doc.tar --exclude='_*' -s /^AppKit/AppKit.doc/ AppKit/*.j AppKit/**/*.j
|
||||
bsdtar xf AppKit.doc.tar
|
||||
rm AppKit.doc.tar
|
||||
|
||||
tar cf Foundation.doc.tar --exclude='_*' -s /^Foundation/Foundation.doc/ Foundation/*.j Foundation/**/*.j
|
||||
tar xf Foundation.doc.tar
|
||||
bsdtar cf Foundation.doc.tar --exclude='_*' -s /^Foundation/Foundation.doc/ Foundation/*.j Foundation/**/*.j
|
||||
bsdtar xf Foundation.doc.tar
|
||||
rm Foundation.doc.tar
|
||||
|
||||
find AppKit.doc -name *.j -exec sed -e '/@import.*/ d' -i '' {} \;
|
||||
|
||||
Reference in new issue
Block a user