diff options
author | dancer <dancer> | 2003-03-10 10:02:11 +0000 |
---|---|---|
committer | dancer <dancer> | 2003-03-10 10:02:11 +0000 |
commit | ca62e88c1fd2574426cc228aef4a1c5064dd2853 (patch) | |
tree | 5b7e06dc4982547f9f592c41f99fa5d06c2ad530 /pbuilder-buildpackage | |
parent | 27397d19776e5f5671ad57d823ba96a9c323dd24 (diff) | |
download | pbuilder-ca62e88c1fd2574426cc228aef4a1c5064dd2853.tar pbuilder-ca62e88c1fd2574426cc228aef4a1c5064dd2853.tar.gz |
+2003-03-10 Junichi Uekawa <dancer@debian.org>
+
+ * pbuilder-satisfydepends: quote some strings... trying to be pedantic
+
+ * pbuilder-buildpackage-funcs: unset LOGNAME for when building with
+ real root privilage.
+ thanks Barak Pearlmutter <bap@cs.unm.edu>
+
+ * pbuilder.8: document X hooks which were previously undocumented.
+
+ * pbuilder-user-mode-linux (BUILDING_DSC_FILE): use readlink on real existing files.
+ GNU "readlink -f " exits with an exit code of 1 when the file does not
+ exist, debianutils readlink did not.
+
+ * pbuilder-runhooks (hooks): do not call readlink here,
+ since the file may not exist.
+
+ * pbuilder-checkparams (USE_PKGNAME_LOGFILE): use readlink on real existing files.
+
+ * pbuilder-buildpackage (PACKAGENAME): use readlink on real existing files.
+
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-x | pbuilder-buildpackage | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage index d1d1089..47d08a1 100755 --- a/pbuilder-buildpackage +++ b/pbuilder-buildpackage @@ -54,9 +54,10 @@ createbuilduser if [ -z "${PBUILDER_BUILD_LOGFILE}" ]; then if [ "${USE_PKGNAME_LOGFILE}" = "yes" ]; then - PBUILDER_BUILD_LOGFILE=$(readlink -f "${BUILDRESULT}/"$(basename "${PACKAGENAME}" .dsc).log) + PBUILDER_BUILD_LOGFILE="${BUILDRESULT}/"$(basename "${PACKAGENAME}" .dsc) exec > "${PBUILDER_BUILD_LOGFILE}" exec 2>&1 + PBUILDER_BUILD_LOGFILE=$(readlink -f "${PBUILDER_BUILD_LOGFILE}") echo "I: Using pkgname logfile" showbuildbanner '$Id$' echobacktime |