From 1f0a7025ed184ddd347a6a4f443bacbb042a72e2 Mon Sep 17 00:00:00 2001 From: Jouke Witteveen Date: Mon, 7 May 2012 10:21:16 +0200 Subject: 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. --- Makefile | 2 +- src/hooks/fancy | 6 +++--- 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 { -- cgit v1.2.3-24-g4f1b