morpheus

suckless linux distro
git clone git://git.2f30.org/morpheus
Log | Files | Refs | Submodules | README | LICENSE

commit 2587650b9c8fc9f929aecd18fe07d8f993bdbb9b
parent 05cd145e9a1fc091afeb9496ff5e03a81e443f32
Author: Daniel Bainton <dpb@driftaway.org>
Date:   Fri,  7 Mar 2014 20:04:36 +0000

Use sed instead of tr -d

Diffstat:
Mpkgs/file | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkgs/file b/pkgs/file @@ -83,7 +83,7 @@ build: crossmusl zlib printf "\n#ifndef _INTPTR_T_DEFINED\n#define _INTPTR_T_DEFINED\n#define intptr_t int\n#endif\n" > strcasestr.c.tmp cat strcasestr.c >> strcasestr.c.tmp mv strcasestr.c.tmp strcasestr.c - sed -e "s/X.YY/$(echo $v | tr -d .)/" < magic.h.in > magic.h + sed -e "s/X.YY/$(echo $v | sed -e "s|\.||g")/" < magic.h.in > magic.h MAGIC='"/share/file/magic"' for f in *.c; do $CC -c $f $LOCAL_CFLAGS $CFLAGS -DPACKAGE_STRING="file $v" -DMAGIC="$MAGIC"