From e89c2757465ba9daff6cb8ec6fee64f1d8d5e7f7 Mon Sep 17 00:00:00 2001 From: pierre Date: Fri, 22 Mar 2013 15:26:47 +0000 Subject: [PATCH] Accept list of file as parameters of the script git-svn-id: trunk@23955 - --- utils/fpcm/get_revision.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utils/fpcm/get_revision.sh b/utils/fpcm/get_revision.sh index 90e67a2182..e0b5316366 100755 --- a/utils/fpcm/get_revision.sh +++ b/utils/fpcm/get_revision.sh @@ -3,7 +3,11 @@ # List of files which should be considered imprtant # for the behavior of fpcmake binary # fpcmake.inc and Makefile should be excluded from that list +if [ "$#" -ge 1 ] ; then +important_files="$*" +else important_sources=`ls -1 fpcm*.pp fpcmake.ini Makefile.fpc` +fi LANG=C export LANG