diff options
author | Adrien Nader <adrien@notk.org> | 2013-03-09 09:52:41 +0100 |
---|---|---|
committer | Adrien Nader <adrien@notk.org> | 2013-03-09 09:52:41 +0100 |
commit | 500fd00262d522f2af868ac90c80d59e489d250f (patch) | |
tree | 6fb1f4bb54cc5da5b74901e2004fe89e62288551 /slackware64-current/source/x/x11/build/increment.sh | |
parent | 251b2dc678d1839f36e58d7dd8522fcea384bc65 (diff) |
Sat Mar 9 06:19:05 UTC 2013
xap/mozilla-firefox-19.0.2-x86_64-1.txz: Upgraded.
This release contains security fixes and improvements.
For more information, see:
http://www.mozilla.org/security/known-vulnerabilities/firefox.html
(* Security fix *)
xap/mozilla-thunderbird-17.0.4esr-x86_64-1.txz: Upgraded.
This release contains security fixes and improvements.
For more information, see:
http://www.mozilla.org/security/known-vulnerabilities/thunderbird.html
(* Security fix *)
Diffstat (limited to 'slackware64-current/source/x/x11/build/increment.sh')
-rwxr-xr-x | slackware64-current/source/x/x11/build/increment.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/slackware64-current/source/x/x11/build/increment.sh b/slackware64-current/source/x/x11/build/increment.sh new file mode 100755 index 000000000..6de5d0da6 --- /dev/null +++ b/slackware64-current/source/x/x11/build/increment.sh @@ -0,0 +1,17 @@ +#!/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 |