diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-12-19 22:15:05 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-12-19 22:15:05 +0000 |
commit | f0d82b466910ba75d055c5b53b0493d2167c821b (patch) | |
tree | 7b92263601bec93b15a9a8333738401ec726db03 /init-sh | |
parent | 4080e206cd66db99a8cc6c653a690291adeaee9e (diff) | |
download | msec-f0d82b466910ba75d055c5b53b0493d2167c821b.tar msec-f0d82b466910ba75d055c5b53b0493d2167c821b.tar.gz msec-f0d82b466910ba75d055c5b53b0493d2167c821b.tar.bz2 msec-f0d82b466910ba75d055c5b53b0493d2167c821b.tar.xz msec-f0d82b466910ba75d055c5b53b0493d2167c821b.zip |
*** empty log message ***
Diffstat (limited to 'init-sh')
-rw-r--r-- | init-sh/lib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init-sh/lib.sh b/init-sh/lib.sh index 1070c3d..20cfe96 100644 --- a/init-sh/lib.sh +++ b/init-sh/lib.sh @@ -47,7 +47,7 @@ AddBegRules() { echo "Modifying config in ${2}..." export VAL=$2 - perl -pe -i '/^#/ or /^$/ or $m++ or print "$ENV{COMMENT}\n$ENV{VAL}\n\n"' $1 + perl -pi -e '/^#/ or /^$/ or $m++ or print "$ENV{COMMENT}\n$ENV{VAL}\n\n"' $1 echo -e "done.\n" } |