commit bash-20190531 snapshot

This commit is contained in:
Chet Ramey
2019-06-10 11:05:01 -04:00
parent 52e4696964
commit d88145ce29
9 changed files with 420 additions and 712 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
#
# Simple makefile for the sample loadable builtins
#
# Copyright (C) 1996-2015 Free Software Foundation, Inc.
# Copyright (C) 1996-2019 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -102,8 +102,8 @@ INC = -I. -I.. -I$(topdir) -I$(topdir)/lib -I$(topdir)/builtins -I${srcdir} \
ALLPROG = print truefalse sleep finfo logname basename dirname fdflags \
tty pathchk tee head mkdir rmdir mktemp printenv id whoami \
uname sync push ln unlink realpath strftime mypid setpgid seq
OTHERPROG = necho hello cat pushd stat rm
uname sync push ln unlink realpath strftime mypid setpgid seq rm
OTHERPROG = necho hello cat pushd stat
all: $(SHOBJ_STATUS)
+6 -2
View File
@@ -145,8 +145,12 @@ rm_builtin (list)
if (list == 0)
{
builtin_usage ();
return (EXECUTION_FAILURE);
if (force == 0)
{
builtin_usage ();
return (EXECUTION_FAILURE);
}
return (EXECUTION_SUCCESS);
}
for (l = list; l; l = l->next)