summaryrefslogtreecommitdiff
path: root/file2header.sh
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-12-02 02:01:51 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-12-02 02:01:51 +0000
commit6ef409c4d0778b0305a8f65d2f93299cda484da1 (patch)
treeb1af5a2a342793de0321abaad020d5ac7fb5d752 /file2header.sh
parentf2a8cab90703f9151684c53db66c87786da5d473 (diff)
downloadirssi-6ef409c4d0778b0305a8f65d2f93299cda484da1.zip
internal default.theme is used if it isn't found anywhere
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@910 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'file2header.sh')
-rwxr-xr-xfile2header.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/file2header.sh b/file2header.sh
index 8b37b8eb..f25ae13b 100755
--- a/file2header.sh
+++ b/file2header.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-echo "const char *default_config ="
+echo "const char *$2 ="
cat $1|sed 's/\\/\\\\/g'|sed 's/"/\\"/g'|sed 's/^/\"/'|sed 's/$/\\n\"/'
echo ";"