Magellan Linux

Annotation of /tags/installer-0_1_2/include/functions.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1072 - (hide annotations) (download) (as text)
Mon May 31 22:52:06 2010 UTC (14 years ago) by niro
File MIME type: application/x-sh
File size: 267 byte(s)
tagged 'installer-0_1_2'
1 niro 1018 # $Id$
2     # some common default functions
3    
4     die() { echo "ERROR: $@"; exit 1; }
5    
6     debug() { [[ ${INSTALLER_DEBUG} = 1 ]] && echo "DEBUG: $@"; }
7 niro 1031
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