diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-08-08 16:31:43 +0000 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2015-08-08 16:31:43 +0000 |
commit | 78883ba5a362e09b6ec1f824881dc3cf3eb73f53 (patch) | |
tree | 3fa8f35186cbb3d81a622a189efcdfc5f5b9907c /pbuilder-buildpackage-funcs | |
parent | f3b72f3dbb0205a30f5ef6dc0ccba4bf610b1903 (diff) | |
download | pbuilder-78883ba5a362e09b6ec1f824881dc3cf3eb73f53.tar pbuilder-78883ba5a362e09b6ec1f824881dc3cf3eb73f53.tar.gz |
parametrize the build directory using the conf option BUILDDIR
Diffstat (limited to 'pbuilder-buildpackage-funcs')
-rw-r--r-- | pbuilder-buildpackage-funcs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-buildpackage-funcs b/pbuilder-buildpackage-funcs index dff362b..19852eb 100644 --- a/pbuilder-buildpackage-funcs +++ b/pbuilder-buildpackage-funcs @@ -92,7 +92,7 @@ function createbuilduser () { if [ -e $BUILDPLACE/etc/gshadow ]; then g='x'; else g='*'; fi if ! grep -q ^$BUILDUSERNAME: $BUILDPLACE/etc/passwd; then cowprotect $BUILDPLACE/etc/passwd - echo "$BUILDUSERNAME:$p:$BUILDUSERID:$BUILDUSERID:,,,:/tmp/buildd:/bin/sh" >> $BUILDPLACE/etc/passwd + echo "$BUILDUSERNAME:$p:$BUILDUSERID:$BUILDUSERID:,,,:$BUILDDIR:/bin/sh" >> $BUILDPLACE/etc/passwd fi if ! grep -q ^$BUILDUSERNAME: $BUILDPLACE/etc/group; then cowprotect $BUILDPLACE/etc/group |