summaryrefslogtreecommitdiff
path: root/security/stegdetect/files/patch-file-Makefile.in
blob: 6490c7d7fbb00ca69799f91cf1e654449998d50e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- file/Makefile.in.orig	Thu Oct 16 11:42:44 2003
+++ file/Makefile.in	Thu Oct 16 11:42:50 2003
@@ -504,9 +504,8 @@
 	done >> $@
 
 magic.inc: magic
-	echo -n "\"" > $@
-	sed -e 's/\\/\\\\/g' -e 's/"/\\\"/g' magic >> $@
-	echo -n "\"" >> $@
+	sed -e 's/\\/\\\\/g' -e 's/"/\\\"/g' \
+		-e 's/^/"/' -e 's/\(.*\)/\1"/' magic > $@
 
 file.1:	Makefile file.man
 	@rm -f $@