Browse code

Fix absolute paths for

Jaidyn Lev authored on 2019-01-08 01:31:56
Showing 2 changed files
... ...
@@ -7,7 +7,7 @@ function process_file
7 7
 	local file="$1"
8 8
 	local lang="$2"
9 9
 
10
-	sed -i 's%<!--ml.sh LL%<!--#exec cmd="bash /var/www/htdocs/libertybsd.net/res/bin/ml.sh LL%g' $file
10
+	sed -i 's%<!--ml.sh LL%<!--#exec cmd="bash /htdocs/libertybsd.net/res/bin/ml.sh LL%g' $file
11 11
 	sed -i 's% LL % '"$lang"' %g' $file
12 12
 }
13 13
 
... ...
@@ -9,8 +9,8 @@
9 9
 
10 10
 
11 11
 case "$1" in
12
-	"en") . /var/www/htdocs/libertybsd.net/res/lang/en.sh ;;
13
-	"eo") . /var/www/htdocs/libertybsd.net/res/lang/eo.sh ;;
12
+	"en") . /htdocs/libertybsd.net/res/lang/en.sh ;;
13
+	"eo") . /htdocs/libertybsd.net/res/lang/eo.sh ;;
14 14
 esac
15 15
 
16 16
 var=$2