void-packages/srcpkgs/fakechroot/patches/0001-scripts-fakechroot.sh-fix-h-and-others-die-fakechroo.patch
2013-12-14 07:12:58 +01:00

35 lines
965 B
Diff

From 0290fd97a964214289303a8b9d7e184ef9fc818b Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Sat, 14 Dec 2013 07:00:00 +0100
Subject: [PATCH] scripts/fakechroot.sh: fix -h and others (die ->
fakechroot_die).
---
scripts/fakechroot.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/fakechroot.sh b/scripts/fakechroot.sh
index 1f11720..7738153 100644
--- scripts/fakechroot.sh
+++ scripts/fakechroot.sh
@@ -17,7 +17,7 @@ fakechroot_die () {
fakechroot_usage () {
- die "Usage:
+ fakechroot_die "Usage:
fakechroot [-l|--lib fakechrootlib] [-d|--elfloader ldso]
[-s|--use-system-libs]
[-e|--environment type] [-c|--config-dir directory]
@@ -60,7 +60,7 @@ fakechroot_next_cmd () {
if [ "$FAKECHROOT" = "true" ]; then
- die "fakechroot: nested operation is not supported"
+ fakechroot_die "fakechroot: nested operation is not supported"
fi
--
1.8.5.1