Codebase list texinfo / upstream/4.13.96.dfsg.1 tp / maintain / change_perl_modules_version.sh
upstream/4.13.96.dfsg.1

Tree @upstream/4.13.96.dfsg.1 (Download .tar.gz)

change_perl_modules_version.sh @upstream/4.13.96.dfsg.1raw · history · blame

1
2
3
4
5
6
7
#! /bin/sh

VERS=$1
[ z"$VERS" = "z" ] && exit 1;

#find Texinfo/ -name '*.pm' | xargs sed -i -e 's/\$VERSION = '"'"'\([0-9.]\+\)'"'"'/$VERSION = '"'$VERS'"'/'
find Texinfo/ -name '*.pm' | xargs perl -pi -e 's/\$VERSION = '"'"'([0-9.]+)'"'"'/\$VERSION = '"'$VERS'"'/'