aboutsummaryrefslogtreecommitdiff
path: root/modules/mixtapes
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-12-15 21:38:00 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-12-15 21:38:00 +0200
commit8a83b7243a098a4c06b71f6727252d9d6cdecd49 (patch)
tree8476dd2ba38eb909351ca0168040df882368437c /modules/mixtapes
parentd9a69f2f4c861946f43fb8c8cd4c7c431a6cf266 (diff)
downloadarching-kaos-tools-8a83b7243a098a4c06b71f6727252d9d6cdecd49.tar.gz
arching-kaos-tools-8a83b7243a098a4c06b71f6727252d9d6cdecd49.tar.bz2
arching-kaos-tools-8a83b7243a098a4c06b71f6727252d9d6cdecd49.zip
Modules fixes
Diffstat (limited to 'modules/mixtapes')
-rwxr-xr-xmodules/mixtapes/main.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/mixtapes/main.sh b/modules/mixtapes/main.sh
index a9373f6..ce9b35a 100755
--- a/modules/mixtapes/main.sh
+++ b/modules/mixtapes/main.sh
@@ -28,10 +28,11 @@
##
# We can extend it by calling the _ak_zblock_pack.sh mixtape/add data ## ORIGINAL LINE
fullprogrampath="$(realpath $0)"
-PROGRAM="ak-module-$(realpath $0 | rev |cut -d '/' -f 2 | rev)"
+MODULE="$(realpath $0 | rev |cut -d '/' -f 2 | rev)"
+PROGRAM="ak-module-$MODULE"
descriptionString="AK mixtape block creator"
source $AK_LIBDIR/_ak_script
-source $AK_MODULESDIR/$PROGRAM/lib.sh
+source $AK_MODULESDIR/$MODULE/lib.sh
if [ ! -z $1 ]; then
case $1 in