#!/bin/sh # This script finds all js files included from index.html which have been # modified and bumps their version (the value of the "v" parameter used # in index.html) # contents of index.html at HEAD (excluding not-committed changes) index=`git show HEAD:index.html` # js files included from index.html. The sort needed for comm jsfiles=.bump-js-versions-jsfiles.tmp echo "$index" | grep '