2 # stamp.sh for libquvi-scripts
3 # - stamps the lua scripts to match the version
7 [ -z $1 ] && (echo "error: define path to top source dir" ; exit 1)
8 [ -z $2 ] && (echo "error: define path to top dist dir" ; exit 1)
9 if [ -x "$2/gen-ver.sh" ]; then
11 find "$2/share/" -name '*.lua' \
12 -exec sed -i "s/^\(-- libquvi-scripts\).*/\1 $VN/" {} \
;
19 echo "Usage: $0 [-h] [top_srcdir]
20 -h Show this help and exit"
33 echo "Find and stamp lua scripts..."