Contents of /tags/installer-0_1_2/include/functions.sh
Parent Directory | Revision Log
Revision 1072 -
(show annotations)
(download)
(as text)
Mon May 31 22:52:06 2010 UTC (14 years, 4 months ago) by niro
File MIME type: application/x-sh
File size: 267 byte(s)
Mon May 31 22:52:06 2010 UTC (14 years, 4 months ago) by niro
File MIME type: application/x-sh
File size: 267 byte(s)
tagged 'installer-0_1_2'
1 | # $Id$ |
2 | # some common default functions |
3 | |
4 | die() { echo "ERROR: $@"; exit 1; } |
5 | |
6 | debug() { [[ ${INSTALLER_DEBUG} = 1 ]] && echo "DEBUG: $@"; } |
7 | |
8 | # trims whitespaces from variables |
9 | # bash do it itself automatically if the var is not escaped with ' or " |
10 | trim() { echo $1; } |
Properties
Name | Value |
---|---|
svn:keywords | Id |