summaryrefslogtreecommitdiff
path: root/profiles/prefix/windows/winnt/profile.bashrc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-30 12:37:28 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-30 12:37:28 +0100
commitbe9d77d3ac6af8f4ead98d89706f356b65578c93 (patch)
treef82923fbca262493e83dd1382e561a2fae24cc46 /profiles/prefix/windows/winnt/profile.bashrc
parent7ec0832ab5dafbf70de83e0c2f3ee740416a0950 (diff)
parent6faaec2b812feecd9c8751b8a19004da4a17ea5b (diff)
Merge branch 'edge' into next
Diffstat (limited to 'profiles/prefix/windows/winnt/profile.bashrc')
-rw-r--r--profiles/prefix/windows/winnt/profile.bashrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/profiles/prefix/windows/winnt/profile.bashrc b/profiles/prefix/windows/winnt/profile.bashrc
index 1a70e77b1cbd..9420300435cd 100644
--- a/profiles/prefix/windows/winnt/profile.bashrc
+++ b/profiles/prefix/windows/winnt/profile.bashrc
@@ -212,7 +212,7 @@ force_dest_file_opt=
nextargs=( "$@" )
-while [[ $# > 0 ]]
+while [[ $# -gt 0 ]]
do
arg=${1}
shift
@@ -260,7 +260,7 @@ ret=$?
if [[ -z ${mydest} ]]
then
- [[ ${#mysrcs[@]} < 2 ]] && exit 0
+ [[ ${#mysrcs[@]} -lt 2 ]] && exit 0
: "${mysrcs[@]}" "${#mysrcs[@]}"
mydest=${mysrcs[${#mysrcs[@]}-1]}
unset mysrcs[${#mysrcs[@]}-1]