summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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/"