aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-07-16 08:44:14 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-07-16 08:44:14 +0300
commit868795114f1acfb34149c22a9957169005bfc20f (patch)
treeb4463b14fbb80d92756c59740a429f16c75e9a88 /bin
parent38ad449f562af439640563112e2dc38fe2a960cd (diff)
downloadarching-kaos-tools-868795114f1acfb34149c22a9957169005bfc20f.tar.gz
arching-kaos-tools-868795114f1acfb34149c22a9957169005bfc20f.tar.bz2
arching-kaos-tools-868795114f1acfb34149c22a9957169005bfc20f.zip
bugfix
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ak4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ak b/bin/ak
index f1a399b..a22542b 100755
--- a/bin/ak
+++ b/bin/ak
@@ -61,13 +61,13 @@ case "$1" in
-m|--module)
shift
subcmd="$AK_MODULESDIR/$(echo $1 | sed -e 's/ /-/g')"
- shift
- if [ ! -n $1 ]
+ if [ ! -n "$1" ]
then
_ak_log_error "No module selected"
ls -1 $AK_MODULESDIR
exit 1
fi
+ shift
subargs="$*"
if [ ! -n $subargs ]
then