From b242df28e54a297520242fa6f8f1d8ec891f6658 Mon Sep 17 00:00:00 2001 From: Tomasz Obrebski Date: Wed, 22 Feb 2012 20:37:52 +0100 Subject: [PATCH] fixed bug in lst2fstext (compdic component) conf/Makefile updated --- conf/Makefile | 4 ++-- src/compdic/lst2fstext | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/Makefile b/conf/Makefile index 931e5cc..fa1e0fc 100644 --- a/conf/Makefile +++ b/conf/Makefile @@ -14,7 +14,7 @@ clean: .PHONY: install install: ifdef CONF_DIR - install -m 0644 compiledic.conf $(CONF_DIR) + install -m 0644 compdic.conf $(CONF_DIR) install -m 0644 cor.conf $(CONF_DIR) install -m 0644 dgc.conf $(CONF_DIR) install -m 0644 dgp.conf $(CONF_DIR) @@ -31,7 +31,7 @@ endif .PHONY: uninstall uninstall: ifdef CONF_DIR - rm $(CONF_DIR)/compiledic.conf + rm $(CONF_DIR)/compdic.conf rm $(CONF_DIR)/cor.conf rm $(CONF_DIR)/dgc.conf rm $(CONF_DIR)/dgp.conf diff --git a/src/compdic/lst2fstext b/src/compdic/lst2fstext index 0393541..5b530fa 100755 --- a/src/compdic/lst2fstext +++ b/src/compdic/lst2fstext @@ -12,7 +12,7 @@ while(<>) @cs = split(''); ++$s; print "0 $s \n"; - while($c = shift @cs) + for $c (@cs) { print $s . ' ' . ++$s . " $c\n"; }