[Debian-live-changes] r2262 - dists/trunk/live-helper/functions
daniel at alioth.debian.org
daniel at alioth.debian.org
Wed Jun 27 20:13:30 UTC 2007
Author: daniel
Date: 2007-06-27 20:13:29 +0000 (Wed, 27 Jun 2007)
New Revision: 2262
Added:
dists/trunk/live-helper/functions/architecture.sh
Removed:
dists/trunk/live-helper/functions/arch.sh
Log:
Deleted: dists/trunk/live-helper/functions/arch.sh
===================================================================
--- dists/trunk/live-helper/functions/arch.sh 2007-06-27 20:09:56 UTC (rev 2261)
+++ dists/trunk/live-helper/functions/arch.sh 2007-06-27 20:13:29 UTC (rev 2262)
@@ -1,30 +0,0 @@
-#!/bin/sh
-
-# arch.sh - handle arch support
-# Copyright (C) 2007 Otavio Salvador <otavio at debian.org>
-#
-# live-helper comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
-# This is free software, and you are welcome to redistribute it
-# under certain conditions; see COPYING for details.
-
-set -ex
-
-Check_architecture ()
-{
- ARCHS="$@"
- VALID=false
-
- for arch in $ARCHS; do
- if [ $arch = ${LIVE_ARCHITECTURE} ]
- then
- VALID=true
- break
- fi
- done
-
- if [ "${VALID}" = false ]
- then
- Echo_warning "skipping $0, foreign architecture."
- exit 0
- fi
-}
Copied: dists/trunk/live-helper/functions/architecture.sh (from rev 2261, dists/trunk/live-helper/functions/arch.sh)
===================================================================
--- dists/trunk/live-helper/functions/architecture.sh (rev 0)
+++ dists/trunk/live-helper/functions/architecture.sh 2007-06-27 20:13:29 UTC (rev 2262)
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+# architecture.sh - handle architecture specific support
+# Copyright (C) 2007 Otavio Salvador <otavio at debian.org>
+#
+# live-helper comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
+# This is free software, and you are welcome to redistribute it
+# under certain conditions; see COPYING for details.
+
+set -e
+
+Check_architecture ()
+{
+ ARCHITECTURES="${@}"
+ VALID="false"
+
+ for ARCHITECTURE in ${ARCHITECUTRES}
+ do
+ if [ "${ARCHITECTURE}" = "${ARCHITECTURES}" ]
+ then
+ VALID="true"
+ break
+ fi
+ done
+
+ if [ "${VALID}" = "false" ]
+ then
+ Echo_warning "skipping ${0}, foreign architecture."
+ exit 0
+ fi
+}
Property changes on: dists/trunk/live-helper/functions/architecture.sh
___________________________________________________________________
Name: svn:executable
+ *
More information about the Debian-live-changes
mailing list