X-Git-Url: https://git.armaanb.net/?p=asd-repo.git;a=blobdiff_plain;f=core%2Fugrep%2Fbuild;fp=core%2Fugrep%2Fbuild;h=5a77b7a6bca168505e6591ae1dcef7f2ce3581f2;hp=499542568fb9e7b157ce2225a9b35b127c15bf66;hb=df2f4b1252f1601c10649d3048c5e76a91f1132e;hpb=194a58c2efb40ac27f183d61d23b676bc6a58f77 diff --git a/core/ugrep/build b/core/ugrep/build index 4995425..5a77b7a 100755 --- a/core/ugrep/build +++ b/core/ugrep/build @@ -8,7 +8,8 @@ make make DESTDIR="$1" install -ln -s /usr/bin/ugrep "$1/usr/bin/grep" ln -s /usr/share/man/man1/ugrep.1 "$1/usr/share/man/man1/grep.1" -install -Dm755 fgrep "$1/usr/bin/fgrep" -install -Dm755 egrep "$1/usr/bin/egrep" + +for i in grep fgrep egrep; do + install -Dm755 "$i" "$1/usr/bin/$i" +done