Magellan Linux

Annotation of /trunk/installer/include/functions.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1031 - (hide annotations) (download) (as text)
Sun May 30 18:20:55 2010 UTC (13 years, 11 months ago) by niro
File MIME type: application/x-sh
File size: 267 byte(s)
-added trim() to global functions
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