aboutsummaryrefslogtreecommitdiff
path: root/make_install.sh
diff options
context:
space:
mode:
authorEinhard Leichtfuß <alguien@respiranto.de>2018-12-23 16:42:28 +0100
committerEinhard Leichtfuß <alguien@respiranto.de>2018-12-23 16:42:28 +0100
commit92d20f8fd6b0e8036da83abe8e3c4e98b1e8e029 (patch)
tree98e89040ec197202e5b2b628a478d1932f21fefb /make_install.sh
parentb300f3c047a606024db2098523c8fff70721c716 (diff)
Use $lang instead of $pkgname for dirnames
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"
}