aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-runhooks
diff options
context:
space:
mode:
authordancer <dancer>2003-03-10 10:02:11 +0000
committerdancer <dancer>2003-03-10 10:02:11 +0000
commitca62e88c1fd2574426cc228aef4a1c5064dd2853 (patch)
tree5b7e06dc4982547f9f592c41f99fa5d06c2ad530 /pbuilder-runhooks
parent27397d19776e5f5671ad57d823ba96a9c323dd24 (diff)
downloadpbuilder-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-runhooks')
-rw-r--r--pbuilder-runhooks25
1 files changed, 24 insertions, 1 deletions
diff --git a/pbuilder-runhooks b/pbuilder-runhooks
index 3c2f4a9..e6e662e 100644
--- a/pbuilder-runhooks
+++ b/pbuilder-runhooks
@@ -18,6 +18,29 @@
#
# HISTORY:
# $Log$
+# Revision 1.15 2003/03/10 10:02:11 dancer
+# +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.
+# +
+#
# Revision 1.14 2002/09/25 08:55:44 dancer
# + * pbuilder-runhooks (hooks): do not error out if there are no hooks in the hookdir.
#
@@ -136,7 +159,7 @@ function executehooks () {
$CHROOTEXEC "$hooks/"$(basename "$fn")
echo " -> user script $fn finished"
else
- filetype=$(readlink -f $(basename "$fn" ) )
+ filetype=$(basename "$fn" )
echo "W: execute priv not set on file $filetype, not executing."
fi
;;