summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-09-25 12:28:44 +0200
committerFlorian Pritz <bluewind@xinu.at>2014-09-25 12:28:44 +0200
commiteb279635a461a32316f7974c6ad01fd578e8e5d9 (patch)
treea7aedeb7ebe62c4c6802ff2228c6bd5071960ed5
parent5b5b338503b82cde42fb8cdd7791abb61b939111 (diff)
downloadbin-eb279635a461a32316f7974c6ad01fd578e8e5d9.tar.gz
bin-eb279635a461a32316f7974c6ad01fd578e8e5d9.tar.xz
gen-perl-pkg: set MAINTAINER; misc
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xgen-perl-pkg7
1 files changed, 4 insertions, 3 deletions
diff --git a/gen-perl-pkg b/gen-perl-pkg
index 46615e5..c63e1c9 100755
--- a/gen-perl-pkg
+++ b/gen-perl-pkg
@@ -1,9 +1,10 @@
#!/bin/bash
-
set -e
pkg=$1
+export MAINTAINER="Florian Pritz <bluewind@xinu.at>"
+target=~/arch/community
genpkg $pkg
-mkdir -p ~/arch/community/$pkg/{trunk,repos}
-cp ~/pkg/dest/$pkg/PKGBUILD ~/arch/community/$pkg/trunk/
+mkdir -p "$target/$pkg/"{trunk,repos}
+cp "~/pkg/dest/$pkg/PKGBUILD" "$target/$pkg/trunk/"