Browse Source

Allow yearcheck to work out of the box - no symlink required

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273960 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 22 years ago
parent
commit
210ed50db6
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      src/etc/yearcheck.sh

+ 5
- 1
src/etc/yearcheck.sh View File

@@ -3,7 +3,7 @@
#
# The Apache Software License, Version 1.1
#
# Copyright (c) 2002 The Apache Software Foundation. All rights
# Copyright (c) 2002-2003 The Apache Software Foundation. All rights
# reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -82,6 +82,10 @@ fi

YEAR=`basename $0`

if [ $YEAR = yearcheck.sh ]; then
YEAR=`date -R | cut -d ' ' -f 4`
fi

if [ -z "$1" ]; then
cvs -z3 update -dP | fgrep -v proposal | cut -f 2 -d ' ' > $TEMP_FILE
else


Loading…
Cancel
Save