Skip to content

Commit

Permalink
Changed autogen.sh to use echo instead of printf
Browse files Browse the repository at this point in the history
  • Loading branch information
angelali4096 committed Aug 2, 2017
1 parent f514cd5 commit a60ad41
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,19 @@
test -d ./config || mkdir ./config

FILES=./man/*.1
printf "dist_man1_MANS = " > ./man/Makefile.am
echo -n "dist_man1_MANS =" > ./man/Makefile.am
for f in $FILES
do
printf "%s " $(basename $f) >> ./man/Makefile.am
echo -n " $(basename $f)" >> ./man/Makefile.am
done

FILES=./man/*.3
printf "\ndist_man3_MANS = " >> ./man/Makefile.am
echo -e -n "\ndist_man3_MANS =" >> ./man/Makefile.am
for f in $FILES
do
printf "%s " $(basename $f) >> ./man/Makefile.am
echo -n " $(basename $f)" >> ./man/Makefile.am
done

echo -e "\n" >> ./man/Makefile.am

autoreconf -vif

0 comments on commit a60ad41

Please sign in to comment.