summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-04-17 13:02:41 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-04-17 13:02:41 +0000
commit1e14c9fdf1acaec36fdba3a4fe26ba265b75a603 (patch)
treef9c7cf5943622886b9273bf9cf346204bb944695 /media-video/noad
parentRemoved bash specific stuff. (diff)
downloadgentoo-2-1e14c9fdf1acaec36fdba3a4fe26ba265b75a603.tar.gz
gentoo-2-1e14c9fdf1acaec36fdba3a4fe26ba265b75a603.tar.bz2
gentoo-2-1e14c9fdf1acaec36fdba3a4fe26ba265b75a603.zip
Removed bash specific stuff.
(Portage version: 2.1.2.4)
Diffstat (limited to 'media-video/noad')
-rw-r--r--media-video/noad/ChangeLog6
-rw-r--r--media-video/noad/files/0.6.0-r7/noad-reccmd4
-rw-r--r--media-video/noad/files/0.6.0-r7/record-50-noad.sh28
3 files changed, 21 insertions, 17 deletions
diff --git a/media-video/noad/ChangeLog b/media-video/noad/ChangeLog
index baedae64c4cc..92ae49181b45 100644
--- a/media-video/noad/ChangeLog
+++ b/media-video/noad/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/noad
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/noad/ChangeLog,v 1.18 2007/02/07 10:55:31 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/noad/ChangeLog,v 1.19 2007/04/17 13:02:41 zzam Exp $
+
+ 17 Apr 2007; Matthias Schwarzott <zzam@gentoo.org>
+ files/0.6.0-r7/noad-reccmd, files/0.6.0-r7/record-50-noad.sh:
+ Removed bash specific stuff.
07 Feb 2007; Matthias Schwarzott <zzam@gentoo.org>
-files/0.6.0-r3/confd_vdraddon.noad, -files/0.6.0-r3/noad-reccmd,
diff --git a/media-video/noad/files/0.6.0-r7/noad-reccmd b/media-video/noad/files/0.6.0-r7/noad-reccmd
index 069a292f25cf..3979baa574f9 100644
--- a/media-video/noad/files/0.6.0-r7/noad-reccmd
+++ b/media-video/noad/files/0.6.0-r7/noad-reccmd
@@ -1,7 +1,7 @@
-#!/bin/bash
+#!/bin/sh
VDR_RECORD_STATE=reccmd
VDR_RECORD_NAME="${1}"
-source /usr/share/vdr/record/record-50-noad.sh "${VDR_RECORD_STATE}" "${VDR_RECORD_NAME}"
+. /usr/share/vdr/record/record-50-noad.sh "${VDR_RECORD_STATE}" "${VDR_RECORD_NAME}"
diff --git a/media-video/noad/files/0.6.0-r7/record-50-noad.sh b/media-video/noad/files/0.6.0-r7/record-50-noad.sh
index 51cd0b68f0da..7ac4e2bff5ff 100644
--- a/media-video/noad/files/0.6.0-r7/record-50-noad.sh
+++ b/media-video/noad/files/0.6.0-r7/record-50-noad.sh
@@ -1,4 +1,4 @@
-# $Header: /var/cvsroot/gentoo-x86/media-video/noad/files/0.6.0-r7/record-50-noad.sh,v 1.2 2006/12/28 21:00:47 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/noad/files/0.6.0-r7/record-50-noad.sh,v 1.3 2007/04/17 13:02:41 zzam Exp $
#
# Joerg Bornkessel <hd_brummy@gentoo.org>
# Mathias Schwarzott <zzam@gentoo.org>
@@ -13,27 +13,27 @@ CMD="/usr/bin/noad"
FORCE_OFFLINE_SCAN=no
-if [[ ${VDR_RECORD_STATE} == reccmd ]]; then
+if [ "${VDR_RECORD_STATE}" = "reccmd" ]; then
# script started from reccmd
FORCE_OFFLINE_SCAN=yes
VDR_RECORD_STATE=after
fi
-if [[ ${FORCE_OFFLINE_SCAN} != yes ]]; then
+if [ "${FORCE_OFFLINE_SCAN}" != "yes" ]; then
# allow it to abort on certain conditions
# automatic noad scan disabled
- [[ ${VDR_USE_NOAD} == "yes" ]] || return
+ [ "${VDR_USE_NOAD}" = "yes" ] || return
# ptsmarks existing
- if [[ ${NOAD_ONLY_SCAN_IF_NO_PTSMARKS} == yes ]]; then
- [[ -f ${VDR_RECORD_NAME}/ptsmarks.vdr ]] && return
+ if [ "${NOAD_ONLY_SCAN_IF_NO_PTSMARKS}" = "yes" ]; then
+ [ -f "${VDR_RECORD_NAME}/ptsmarks.vdr" ] && return
fi
# marks existing
- if [[ ${NOAD_ONLY_SCAN_IF_NO_MARKS} == yes ]]; then
- [[ -f ${VDR_RECORD_NAME}/marks.vdr ]] && return
+ if [ "${NOAD_ONLY_SCAN_IF_NO_MARKS}" = "yes" ]; then
+ [ -f "${VDR_RECORD_NAME}/marks.vdr" ] && return
fi
# Add Online-scanning parameter
@@ -46,18 +46,18 @@ if [[ ${FORCE_OFFLINE_SCAN} != yes ]]; then
;;
no)
# abort stage "before" here
- [[ ${VDR_RECORD_STATE} == "before" ]] && return
+ [ "${VDR_RECORD_STATE}" = "before" ] && return
;;
esac
fi
-[[ "${NOAD_AC3}" == "yes" ]] && CMD="${CMD} -a"
-[[ "${NOAD_JUMP}" == "yes" ]] && CMD="${CMD} -j"
-[[ "${NOAD_OVERLAP}" == "yes" ]] && CMD="${CMD} -o"
-[[ "${NOAD_MESSAGES}" == "yes" ]] && CMD="${CMD} -O"
+[ "${NOAD_AC3}" = "yes" ] && CMD="${CMD} -a"
+[ "${NOAD_JUMP}" = "yes" ] && CMD="${CMD} -j"
+[ "${NOAD_OVERLAP}" = "yes" ] && CMD="${CMD} -o"
+[ "${NOAD_MESSAGES}" = "yes" ] && CMD="${CMD} -O"
: ${NOAD_NICE_LEVEL:=18}
-if [[ ${NOAD_NICE_LEVEL} != no ]]; then
+if [ "${NOAD_NICE_LEVEL}" != "no" ]; then
NOAD_NICE_LEVEL=$((NOAD_NICE_LEVEL+0))
CMD="nice -n ${NOAD_NICE_LEVEL} ${CMD}"
fi