aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2023-10-16 20:09:33 +0200
committerMatěj Cepl <mcepl@cepl.eu>2024-03-28 17:12:18 +0100
commit0ede4ff49dde85bed9882bdabbec80a6ec138858 (patch)
treee007f87ef7f5a60d3dfaedeefa8f22722b30eefe
parentb9705ef5588a678f4b8ddbf91431cf23e13ee436 (diff)
downloadvim-suse-changes-0ede4ff49dde85bed9882bdabbec80a6ec138858.tar.gz
fix(osurl): whoops, -le is not the same as -lt.
-rwxr-xr-xosurl2
1 files changed, 1 insertions, 1 deletions
diff --git a/osurl b/osurl
index 7a96400..4775783 100755
--- a/osurl
+++ b/osurl
@@ -3,7 +3,7 @@
# https://en.opensuse.org/openSUSE:Packaging_Patches_guidelines#Current_set_of_abbreviations
set -eu
-if [ $# -le 1 ] ; then
+if [ $# -lt 1 ] ; then
STR="$(cat)"
else
STR="$1"