aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/rebuildpkg
diff options
context:
space:
mode:
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"