pedantic change: use tar cf instead of -cf - bitreich-style - Style guide for p… | |
git clone git://bitreich.org/bitreich-style | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit f7995ee053d259bd50ee3776f50949391ebecf8d | |
parent 9b48be81f3efe169f41975d6202ec4ed0651895c | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Fri, 12 Jun 2020 20:40:09 +0200 | |
pedantic change: use tar cf instead of -cf | |
This is more in style of a (deprecated) POSIX page and probably more portable | |
on older systems. | |
Diffstat: | |
M c/makefile-guideline.txt | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/c/makefile-guideline.txt b/c/makefile-guideline.txt | |
@@ -225,9 +225,9 @@ mkdir the -p flag is used to create all intermediary direct… | |
return an error if the directory already exists. | |
50 # make tarball | |
- 51 tar -cf - "${NAME}-${VERSION}" | gzip -c > "${NAME}-${VE… | |
+ 51 tar cf - "${NAME}-${VERSION}" | gzip -c > "${NAME}-${VER… | |
-Make a tarball. gzip from stdin is used for portability (tar -z is non-POSIX). | |
+Make a tarball. gzip from stdin is used for portability (tar z is non-POSIX). | |
https://pubs.opengroup.org/onlinepubs/007908799/xcu/tar.html | |
52 rm -rf "${NAME}-${VERSION}" |