[Debian-eeepc-devel] [SCM] custom debian-installer for EeePC branch, master, updated. 15cf2177d831249929d2cba6795915566a7eddea

Damyan Ivanov dmn at debian.org
Thu Mar 6 12:35:02 UTC 2008


The following commit has been merged in the master branch:
commit 15cf2177d831249929d2cba6795915566a7eddea
Author: Damyan Ivanov <dmn at debian.org>
Date:   Thu Mar 6 14:33:47 2008 +0200

    Allow for the base variables to be overriden
    
    Uses VAR=${VAR:-some default value} so that user can invoke the script with
      VAR=other bash build-eeepc.bash

diff --git a/build-eeepc.bash b/build-eeepc.bash
index ac93c1a..dfd0670 100644
--- a/build-eeepc.bash
+++ b/build-eeepc.bash
@@ -21,10 +21,10 @@
 #######################################################################
 
 # Variables
-BASEDIR="$HOME/test"
-KERNELVER="2.6.22-3-486"
-DEBMIRROR="http://ftp.au.debian.org"
-IMAGENAME="debian-eeepc.img"
+BASEDIR=${BASEDIR:-$HOME/test}
+KERNELVER=${KERNELVER:-2.6.22-3-486}
+DEBMIRROR=${DEBMIRROR:-http://ftp.au.debian.org}
+IMAGENAME=${IMAGENAME:-debian-eeepc.img}
 
 # Root check
 if [[ ! $USER == "root" ]]; then

-- 
custom debian-installer for EeePC



More information about the Debian-eeepc-devel mailing list