Chameleon Applications

Chameleon Applications Svn Source Tree

Root/branches/blackosx/trunk/PackageBuilder/Main_Package_Elements/Scripts/WriteInstallerLog.sh

  • Property svn:executable set to *
1#!/bin/bash
2
3#echo "==============================================="
4#echo "Write Installer Log"
5#echo "*******************"
6#echo ""
7#echo ""
8
9# Receives two parameters
10# $1 = selected volume for location of the install log
11# $2 = text to write to the installer log
12
13if [ "$#" -eq 2 ]; then
14logLocation="$1"
15verboseText="$2"
16#echo "DEBUG: passed argument = $logLocation"
17#echo "DEBUG: passed argument = $verboseText"
18fi
19
20echo "${verboseText}" >> ${logLocation}/Chameleon_Error_Log.txt
21
22
23#echo "-----------------------------------------------"
24#echo ""
25exit 0

Archive Download this file

Revision: 236