summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2008-12-19 23:36:38 +0000
committerJason Woodward2008-12-19 23:36:38 +0000
commita2e99f48ed63765d510b99c47dc3270cfc130504 (patch)
tree92821e870b39f22da37375a29c951bf909f0679a
parent45012a5c627a603341bac66d4ae81c79c3bf49a9 (diff)
downloadcpan2tgz-a2e99f48ed63765d510b99c47dc3270cfc130504.tar.gz
buildslackpkg.sh script now uses $PWD/pkg instead of /usr/src
-rwxr-xr-xbuildslackpkg.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildslackpkg.sh b/buildslackpkg.sh
index fa539ad..d5367ac 100755
--- a/buildslackpkg.sh
+++ b/buildslackpkg.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-DESTINATION=/tmp/$$
+DESTINATION=$PWD/pkg
VERSION=`grep VERSION cpan2tgz | awk '{print $4}'|cut -f2 -d\'`
PKGNAME=cpan2tgz
@@ -73,7 +73,7 @@ ${PKGNAME}:
${PKGNAME}: http://software.jaos.org/
${PKGNAME}:
EOF
- makepkg -l y -c n /usr/src/${PKGNAME}-${VERSION}-noarch-1.tgz
+ makepkg -l y -c n ../${PKGNAME}-${VERSION}-noarch-1.tgz
)
make distclean