Skip to contentSkip to conversation

outfile processing can fit all on one line, so make it.

PATCH In review initramfs mailing list 1 participant 1 message Feb 16, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 18/50 outfile processing can fit all on one line, so make it.

Gitweb:     http://git.kernel.org/?p=linux/kernel/git/davej/dracut.git;a=commit;h=95994c57c572c4442f911560fe5cbedead2df56e
Commit:     95994c57c572c4442f911560fe5cbedead2df56e
Parent:     5a862b968a525b8d6fb3ac643daf0f9caa3ab186
Author:     Victor Lowther <[email protected]>
AuthorDate: Fri Feb 13 04:42:13 2009 -0800
Committer:  Dave Jones <[email protected]>
CommitDate: Mon Feb 16 13:56:41 2009 -0500

[PATCH 18/50] outfile processing can fit all on one line, so make it.

---
 dracut |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
dracut +1 -2
index ae53caf..84abdb5 100755
@@ -24,8 +24,7 @@ while (($# > 0)); do
 done
 
 [[ $2 ]] && kernel=$2 || kernel=$(uname -r)
-[[ $1 ]] && outfile=$(readlink -f $1) || \
-    outfile="/boot/initrd-$kernel.img"
+[[ $1 ]] && outfile=$(readlink -f $1) || outfile="/boot/initrd-$kernel.img"
 
 if [[ -f $outfile && ! $force ]]; then
     echo "Will not override existing initramfs ($outfile) without --force"

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html