summaryrefslogtreecommitdiff
path: root/source/x/x11/build/increment-all-drivers.sh
blob: b3f7cbbab1525369308ce3df3d39fa6213d4bbfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# A script to increment build numbers of all the drivers.
# This is used when upgrading to a new major version of the X server.
#
# Any drivers that are newly added should not have a build file in
# here (or it should contain "1").  The usual method is to run this
# script and then remove the build files for any new driver versions.

for DRVSRC in ../src/driver/* ; do
  DRVBASENAME=$(basename $DRVSRC | rev | cut -f 2- -d - | rev)
  ./increment.sh $DRVBASENAME
done