Browse Source

Accept list of file as parameters of the script

git-svn-id: trunk@23955 -
pierre 12 years ago
parent
commit
e89c275746
1 changed files with 4 additions and 0 deletions
  1. 4 0
      utils/fpcm/get_revision.sh

+ 4 - 0
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