Skip to content

Commit

Permalink
ls -Q removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Wodan58 committed Oct 26, 2023
1 parent bc0aee7 commit 7a2570a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions prims.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#
# module : prims.sh
# version : 1.3
# date : 04/11/22
# version : 1.4
# date : 10/26/23
#
# Generate builtin.c and builtin.h
# The directory needs to be given as parameter.
#
echo checking builtin.c and builtin.h
todo=0
ls -1Q $1/src/*.c | sed 's/^/#include /' >prims.tmp
ls $1/src/*.c | sed 's/^/#include "/;s/$/"/' >prims.tmp
if [ ! -f $1/builtin.c -o ! -f $1/builtin.h ]
then
echo creating builtin.c and builtin.h
Expand Down

0 comments on commit 7a2570a

Please sign in to comment.