aboutsummaryrefslogtreecommitdiff
path: root/make_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make_install.sh')
-rwxr-xr-xmake_install.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/make_install.sh b/make_install.sh
index 359989c..53ec43c 100755
--- a/make_install.sh
+++ b/make_install.sh
@@ -60,7 +60,8 @@ function main
# Create the install file.
#
-# requires: $PWD == <base directory>
+# requires: $lang, $ext to be set;
+# $PWD == <base directory>/<type>
#
function make_install
{
@@ -69,7 +70,7 @@ function make_install
input "${script_dir}/sample.install"
replace "%LANG%" "$lang"
replace "%SUFFIX%" "$ext"
- write "${pkgname}/${pkgname}.install"
+ write "${lang}/${pkgname}.install"
}