Skip to content

Commit

Permalink
functions: revert dd17c24 "usr/lib/mkinitramfs-ll/functions: minor cl…
Browse files Browse the repository at this point in the history
…ean up" (2nd part)
  • Loading branch information
tokiclover committed Aug 31, 2014
1 parent 646d3d3 commit 5e6c5db
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions usr/lib/mkinitramfs-ll/functions
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# $Header: mkinitramfs-ll/usr/lib/functions,v 0.13.1 2014/08/08 23:42:11 -tclover Exp $
# $Header: mkinitramfs-ll/usr/lib/functions,v 0.13.2 2014/08/31 23:42:11 -tclover Exp $

# @FUNCTION: arg
# EXTERNAL
# @USAGE: <var> <var> <char> <int> <opt>
# @DESCRIPTION: retrieve a value from a kernel cmdline
function arg()
{
arg() {
eval ${1}=$(echo "$2" | cut -d$3 -f${4:-:} $5)
}

Expand Down Expand Up @@ -106,8 +105,7 @@ die() {
# #EXTERNAL
# @USAGE: <bin>
# @DESCRIPTION: Binary ChecK
function bck()
{
bck() {
debug -d which $1 1>/dev/null 2>&1
}

Expand Down

0 comments on commit 5e6c5db

Please sign in to comment.