slackware-current/source/x/x11/build/increment.sh
Patrick J Volkerding 76fc4757ac Slackware 14.1
Mon Nov  4 17:08:47 UTC 2013
Slackware 14.1 x86_64 stable is released!

It's been another interesting release cycle here at Slackware bringing
new features like support for UEFI machines, updated compilers and
development tools, the switch from MySQL to MariaDB, and many more
improvements throughout the system.  Thanks to the team, the upstream
developers, the dedicated Slackware community, and everyone else who
pitched in to help make this release a reality.

The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a
dual-sided
32-bit/64-bit x86/x86_64 DVD.  Please consider supporting the Slackware
project by picking up a copy from store.slackware.com.  We're taking
pre-orders now, and offer a discount if you sign up for a subscription.

Have fun!  :-)
2018-05-31 22:57:36 +02:00

17 lines
507 B
Bash
Executable file

#!/bin/sh
# A script to increment build numbers.
# Call it with the list of the build numbers to increase by one:
#
# ./increment.sh xf86-input-acecad xf86-input-aiptek xf86-input-joystick
#
# If a build file does not exist, it will be created with a value of 2.
for build in $* ; do
if [ ! -r $build ]; then
echo "Creating $build with value 2"
echo 2 > $build
else
echo "Incrementing $build $(cat $build) -> $(expr $(cat $build) + 1)"
echo $(expr $(cat $build) + 1) > $build
fi
done