summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2012-05-07 10:21:16 +0200
committerJouke Witteveen <j.witteveen@gmail.com>2012-05-07 10:21:16 +0200
commit1f0a7025ed184ddd347a6a4f443bacbb042a72e2 (patch)
tree7e9a60c20866fc6536c71192e4a017c2555265b9
parentf1ab18c57fc573ead63f0a7ecfefe088881996d2 (diff)
downloadnetctl-1f0a7025ed184ddd347a6a4f443bacbb042a72e2.tar.gz
netctl-1f0a7025ed184ddd347a6a4f443bacbb042a72e2.tar.xz
Be more precise in the makefile
Previously the packagers username would be visible in the tarball and all files laying around in docs/ would be included.
-rw-r--r--Makefile2
-rwxr-xr-xsrc/hooks/fancy6
2 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index ab67122..b87acb1 100644
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,7 @@ netcfg-$(VERSION).tar.xz: | docs
git archive -o netcfg-$(VERSION).tar --prefix=netcfg-$(VERSION)/ stash
git stash pop -q
mv scripts/netcfg{.orig,}
- tar --exclude-vcs --transform "s%^%netcfg-$(VERSION)/%" -uf netcfg-$(VERSION).tar docs/
+ tar --exclude-vcs --transform "s%^%netcfg-$(VERSION)/%" --owner=root --group=root --mtime=./netcfg-$(VERSION).tar -rf netcfg-$(VERSION).tar docs/*.[1-8]
xz netcfg-$(VERSION).tar
pkgbuild: PKGBUILD
diff --git a/src/hooks/fancy b/src/hooks/fancy
index 26665eb..a64514e 100755
--- a/src/hooks/fancy
+++ b/src/hooks/fancy
@@ -53,15 +53,15 @@ function report_append {
}
function report_busy {
- printf "${CURSOR_STATUS} [${FANCY_BUSY} BUSY ${FANCY_NORMAL}] "
+ printf "${CURSOR_STATUS} [${FANCY_BUSY} BUSY ${FANCY_NORMAL}] "
}
function report_failed {
- printf "${CURSOR_STATUS} [${FANCY_FAILED}FAILED${FANCY_NORMAL}]\n"
+ printf "${CURSOR_STATUS} [${FANCY_FAILED}FAILED${FANCY_NORMAL}]\n"
}
function report_done {
- printf "${CURSOR_STATUS} [${FANCY_DONE} DONE ${FANCY_NORMAL}]\n"
+ printf "${CURSOR_STATUS} [${FANCY_DONE} DONE ${FANCY_NORMAL}]\n"
}
function print_prefixed {