fix how alt code is used in 1989/jar.1

Turned *.sh files into executable bash scripts.
This commit is contained in:
Landon Curt Noll committed 2023-03-08 02:24:23 -08:00
1 parent 129ffa9fb5
commit d1bb558f70
5 files changed
+13 -13

No files matched your search

+4 -4
View File
@@ -166,8 +166,8 @@ OBJ= ${PROG}.o
DATA=
TARGET= ${PROG}
#
ALT_OBJ= ${PROG}.orig.o
ALT_TARGET= ${PROG}.orig
ALT_OBJ= ${PROG}.alt.o
ALT_TARGET= ${PROG}.alt
#################
@@ -191,10 +191,10 @@ ${PROG}: ${PROG}.c
alt: data ${ALT_TARGET}
@${TRUE}
${PROG}.orig: ${PROG.orig}.c
${PROG}.alt: ${PROG.alt}.c
@echo "NOTE: The original source might not compile using modern compilers."
${RM} -f $@
${CP} jar.1.orig.sh $@
${CP} jar.1.alt.sh $@
${CHMOD} +x $@
# data files