summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
Diffstat (limited to 'buildconf')
-rwxr-xr-xbuildconf3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildconf b/buildconf
index 4ea8b51d95..d306f8fd4a 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..."