aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordancer <dancer>2001-08-23 15:47:19 +0000
committerdancer <dancer>2001-08-23 15:47:19 +0000
commit359ac620e9d9d3c261fd6aa090ebe2a47291714a (patch)
treee0d172977c04135cfa50575e0b646dd7d2ba3a05
parenta40fac046c13f6377999ec878421e949643fb86d (diff)
downloadpbuilder-359ac620e9d9d3c261fd6aa090ebe2a47291714a.tar
pbuilder-359ac620e9d9d3c261fd6aa090ebe2a47291714a.tar.gz
fixed processing
-rwxr-xr-xpbuilder-buildpackage.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/pbuilder-buildpackage.sh b/pbuilder-buildpackage.sh
index d0d311b..23aae80 100755
--- a/pbuilder-buildpackage.sh
+++ b/pbuilder-buildpackage.sh
@@ -27,9 +27,11 @@ rm -rf $BUILDPLACE
echo building the build env
mkdir -p $BUILDPLACE
-cd $BUILDPLACE
-tar xfzp $BASETGZ
-mkdir -p $BUILDPLACE/tmp/buildd
+(
+ cd $BUILDPLACE
+ tar xfzp $BASETGZ
+ mkdir -p $BUILDPLACE/tmp/buildd
+)
echo Copying source file
copydsc $PACKAGENAME $BUILDPLACE/tmp/buildd
echo Extracting source