openbsd-ports/net/tintin++/patches/patch-install_sh
2007-10-26 22:10:06 +00:00

19 lines
576 B
Plaintext

$OpenBSD: patch-install_sh,v 1.1 2007/10/26 22:10:06 ajacoutot Exp $
--- install.sh.orig Fri Sep 9 03:43:26 1994
+++ install.sh Sat Oct 27 00:05:07 2007
@@ -5,12 +5,11 @@
echo " "
echo "Copying the tintin++ executable to \"$1\"..."
-strip tt++
-cp tt++ "$1"
+install -c -s -o bin -g bin -m 555 tt++ "$1"
echo "Copying the tintin++ help file to \"$2\"..."
if [ "$3" ]; then
- cp support/.tt_help.txt.Z "$2/"
+ install -c -o bin -g bin -m 444 support/.tt_help.txt.Z "$2"
else
echo Uncompressing.
uncompress -c support/.tt_help.txt.Z | cat > "$2"/.tt_help.txt