Skip to content

Commit

Permalink
Merge pull request #51 from Nilsonfsilva/master
Browse files Browse the repository at this point in the history
tweaks for the Debian environment.
  • Loading branch information
merces authored Jun 12, 2024
2 parents 0f0d0eb + 8bd7ac8 commit b8e5118
Show file tree
Hide file tree
Showing 2 changed files with 485 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
SRC = `find src/ -type f -name '*.sh'`
SRC = `find src/ -type f -name '*.sh'|LC_ALL=C sort`
OUTFILE = bashacks.sh
BASHRCFILE = ~/.profile
BASHACKS = `pwd`/$(OUTFILE)

all:
>$(OUTFILE)
for file in $(SRC); do \
cat $$file >> $(OUTFILE); \
(echo '#!/bin/bash' && cat $$file) >> $(OUTFILE); \
echo >> $(OUTFILE); \
done
tr -d \\r < $(OUTFILE) > $(OUTFILE).tmp
Expand Down
Loading

0 comments on commit b8e5118

Please sign in to comment.