diff options
-rwxr-xr-x | pbuilder-buildpackage.sh | 8 |
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 |