aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/rebuildpkg
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-08-30 20:53:15 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-08-30 20:53:15 +0000
commit632ec0d8518f1ee1b2af1eeae6a9d967dd26b16f (patch)
treee184d352ba2764561155b1ce3ab3cd343f5929e9 /trunk/src/rebuildpkg
parent33da53d2d881d85cfdeb97910c16c71902749c58 (diff)
downloadsimplepkg-632ec0d8518f1ee1b2af1eeae6a9d967dd26b16f.tar.gz
simplepkg-632ec0d8518f1ee1b2af1eeae6a9d967dd26b16f.tar.bz2
Attempt to fix #94 and #95
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@811 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src/rebuildpkg')
-rwxr-xr-xtrunk/src/rebuildpkg7
1 files changed, 3 insertions, 4 deletions
diff --git a/trunk/src/rebuildpkg b/trunk/src/rebuildpkg
index 6d3d10c..65315ad 100755
--- a/trunk/src/rebuildpkg
+++ b/trunk/src/rebuildpkg
@@ -18,7 +18,6 @@
#
COMMON="/usr/libexec/simplepkg/common.sh"
-TMP="/tmp"
function usage {
echo "usage: ROOT=/otherroot `basename $0` <package-name>"
@@ -82,6 +81,6 @@ if [ -f "$ROOT/var/log/scripts/$package_name" ]; then
cp $ROOT/var/log/scripts/$package_name $TMP/package-$pack/install/doinst.sh
fi
-makepkg $package_name.tgz
-mv $package_name.tgz $TMP/
-echo "done: package rebuilt and stored at $TMP/$package_name.tgz"
+makepkg $package_name.$MKBUILD_COMPRESS
+mv $package_name.$MKBUILD_COMPRESS $TMP/
+echo "done: package rebuilt and stored at $TMP/$package_name.$MKBUILD_COMPRESS"