summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-08-13 11:57:40 (GMT)
committerSascha Schumann <sas@php.net>1999-08-13 11:57:40 (GMT)
commite8f465f3d4c2e732f344f571d14891be457b89cf (patch)
tree367051fb42faec42214b340d4dc5f4e6dc96ea5f
parent5fbe27828b8fc00cf5954911b37bb3cc805a5a74 (diff)
downloadphp-e8f465f3d4c2e732f344f571d14891be457b89cf.tar.gz
rerun checks if buildconf is newer than the time stamp file
-rwxr-xr-xbuildconf3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildconf b/buildconf
index 4ea8b51..d306f8f 100755
--- a/buildconf
+++ b/buildconf
@@ -5,7 +5,8 @@ supplied_flag=$1
# do some version checking for the tools we use
if test "$1" = "--force"; then
shift
-elif test -r buildconf.stamp ; then
+# this is a posix correct "test -nt"
+elif test "`ls -t buildconf buildconf.stamp|head -1`" != "buildconf"; then
:
else
echo "buildconf: checking installation..."