summaryrefslogtreecommitdiff
path: root/scripts/calcurse-upgrade.sh.in
AgeCommit message (Collapse)Author
2012-06-01calcurse-upgrade: Change location of temporary fileLukas Fleischer
Instead of creating the temporary file in a central location, place it in the same directory as the configuration file. Pros: * No need to rely on the "$TMPDIR" environment variable. * Multiple users can upgrade their configuration files at the same time, even if "$!" isn't set properly. * One user can upgrade several configuration files (in different directories or with different file names) at once. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2012-06-01calcurse-upgrade: Add "-h" and "-v" optionsLukas Fleischer
Add "-h"/"--help" options to print a usage message and "-v"/"--version" to print the current version. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2012-06-01scripts/: Add support for placeholdersLukas Fleischer
Allow for specifying placeholders in shell scripts that are replaced during build time. Predefine a "@PACKAGE_VERSION@" placeholder that is replaced with the current version number. Also, rename all shell scripts to ".sh.in". Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>