aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh
diff options
context:
space:
mode:
Diffstat (limited to 'init-sh')
-rw-r--r--init-sh/lib.sh2
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"
}