Hi.

Is it possible to add a `.tar.gz` for 1.17 release? It’s already the
case for GNU coreutils, GNU sed and GNU grep [1]. Lzip is just not
viable for bootstrapping. Also, could you apply the attached patch?
`test` is preferred to `[` [2].

[1]
GNU sed: 2020-01-06 
https://git.savannah.gnu.org/cgit/sed.git/commit/?id=6c175df2
GNU coreutils: 2020-02-27 
https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=516cdf38
GNU grep: 2020-09-09 
https://git.savannah.gnu.org/cgit/grep.git/commit/?id=1021a92a
[2]
https://lists.gnu.org/archive/html/config-patches/2020-08/msg00002.html

Also, is there a web accessible link to CVS or GIT for ed repo?

PS: CC me

Coridally,
Issam E.
diff --git a/Makefile.in b/Makefile.in
index 620cd350..655a2ccb 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -61,7 +61,7 @@ install-compress : install-bin install-info-compress install-man-compress
 install-strip-compress : install-bin-strip install-info-compress install-man-compress
 
 install-bin : all
-	if [ ! -d "$(DESTDIR)$(bindir)" ] ; then $(INSTALL_DIR) "$(DESTDIR)$(bindir)" ; fi
+	if test ! -d "$(DESTDIR)$(bindir)" ; then $(INSTALL_DIR) "$(DESTDIR)$(bindir)" ; fi
 	$(INSTALL_PROGRAM) ./$(progname) "$(DESTDIR)$(bindir)/$(program_prefix)$(progname)"
 	$(INSTALL_SCRIPT) ./r$(progname) "$(DESTDIR)$(bindir)/$(program_prefix)r$(progname)"
 
@@ -69,7 +69,7 @@ install-bin-strip : all
 	$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install-bin
 
 install-info :
-	if [ ! -d "$(DESTDIR)$(infodir)" ] ; then $(INSTALL_DIR) "$(DESTDIR)$(infodir)" ; fi
+	if test ! -d "$(DESTDIR)$(infodir)" ; then $(INSTALL_DIR) "$(DESTDIR)$(infodir)" ; fi
 	-rm -f "$(DESTDIR)$(infodir)/$(pkgname).info"*
 	$(INSTALL_DATA) $(VPATH)/doc/$(pkgname).info "$(DESTDIR)$(infodir)/$(program_prefix)$(pkgname).info"
 	-if $(CAN_RUN_INSTALLINFO) ; then \
@@ -80,7 +80,7 @@ install-info-compress : install-info
 	lzip -v -9 "$(DESTDIR)$(infodir)/$(pkgname).info"
 
 install-man-base :
-	if [ ! -d "$(DESTDIR)$(mandir)/man1" ] ; then $(INSTALL_DIR) "$(DESTDIR)$(mandir)/man1" ; fi
+	if test ! -d "$(DESTDIR)$(mandir)/man1" ; then $(INSTALL_DIR) "$(DESTDIR)$(mandir)/man1" ; fi
 	-rm -f "$(DESTDIR)$(mandir)/man1/$(program_prefix)$(progname).1"*
 	-rm -f "$(DESTDIR)$(mandir)/man1/$(program_prefix)r$(progname).1"*
 	$(INSTALL_DATA) $(VPATH)/doc/$(progname).1 "$(DESTDIR)$(mandir)/man1/$(program_prefix)$(progname).1"
diff --git a/configure b/configure
index cba91aa7..1987968f 100755
--- a/configure
+++ b/configure
@@ -32,14 +32,14 @@ LDFLAGS=
 # Loop over all args
 args=
 no_create=
-while [ $# != 0 ] ; do
+while test $# != 0 ; do
 
 	# Get the first arg, and shuffle
 	option=$1 ; arg2=no
 	shift
 
 	# Add the argument quoted to args
-	if [ -z "${args}" ] ; then args="\"${option}\""
+	if test -z "${args}" ; then args="\"${option}\""
 	else args="${args} \"${option}\"" ; fi
 
 	# Split out the argument for options that take them
@@ -111,8 +111,8 @@ while [ $# != 0 ] ; do
 	esac
 
 	# Check if the option took a separate argument
-	if [ "${arg2}" = yes ] ; then
-		if [ $# != 0 ] ; then args="${args} \"$1\"" ; shift
+	if test "${arg2}" = yes ; then
+		if test $# != 0 ; then args="${args} \"$1\"" ; shift
 		else echo "configure: Missing argument to '${option}'" 1>&2
 			exit 1
 		fi
@@ -121,26 +121,26 @@ done
 
 # Find the source files, if location was not specified.
 srcdirtext=
-if [ -z "${srcdir}" ] ; then
+if test -z "${srcdir}" ; then
 	srcdirtext="or . or .." ; srcdir=.
-	if [ ! -r "${srcdir}/${srctrigger}" ] ; then srcdir=.. ; fi
-	if [ ! -r "${srcdir}/${srctrigger}" ] ; then
+	if test ! -r "${srcdir}/${srctrigger}" ; then srcdir=.. ; fi
+	if test ! -r "${srcdir}/${srctrigger}" ; then
 		## the sed command below emulates the dirname command
 		srcdir=`echo "$0" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
 	fi
 fi
 
-if [ ! -r "${srcdir}/${srctrigger}" ] ; then
+if test ! -r "${srcdir}/${srctrigger}" ; then
 	echo "configure: Can't find sources in ${srcdir} ${srcdirtext}" 1>&2
 	echo "configure: (At least ${srctrigger} is missing)." 1>&2
 	exit 1
 fi
 
 # Set srcdir to . if that's what it is.
-if [ "`pwd`" = "`cd "${srcdir}" ; pwd`" ] ; then srcdir=. ; fi
+if test "`pwd`" = "`cd "${srcdir}" ; pwd`" ; then srcdir=. ; fi
 
 echo
-if [ -z "${no_create}" ] ; then
+if test -z "${no_create}" ; then
 	echo "creating config.status"
 	rm -f config.status
 	cat > config.status << EOF
diff --git a/testsuite/check.sh b/testsuite/check.sh
index c612d768..bcc03894 100755
--- a/testsuite/check.sh
+++ b/testsuite/check.sh
@@ -12,12 +12,12 @@ testdir=`cd "$1" ; pwd`
 ED="${objdir}"/ed
 framework_failure() { echo "failure in testing framework" ; exit 1 ; }
 
-if [ ! -f "${ED}" ] || [ ! -x "${ED}" ] ; then
+if test ! -f "${ED}" || test ! -x "${ED}" ; then
 	echo "${ED}: cannot execute"
 	exit 1
 fi
 
-if [ -d tmp ] ; then rm -rf tmp ; fi
+if test -d tmp ; then rm -rf tmp ; fi
 mkdir tmp
 cd "${objdir}"/tmp || framework_failure
 
@@ -91,7 +91,7 @@ done
 
 rm -f test.txt test.bin zero
 
-if [ ${fail} = 0 ] ; then
+if test ${fail} = 0 ; then
 	echo "tests completed successfully."
 	cd "${objdir}" && rm -r tmp
 else

Reply via email to