artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cba97bf
)
Remove extra : in parameter substitution
author
afresh1
<afresh1@openbsd.org>
Mon, 12 Dec 2022 02:30:51 +0000
(
02:30
+0000)
committer
afresh1
<afresh1@openbsd.org>
Mon, 12 Dec 2022 02:30:51 +0000
(
02:30
+0000)
From Rob Whitlock <rwhitlock22 () gmail ! com>
usr.sbin/fw_update/fw_update.sh
patch
|
blob
|
history
diff --git
a/usr.sbin/fw_update/fw_update.sh
b/usr.sbin/fw_update/fw_update.sh
index
4b77d4c
..
53efe81
100644
(file)
--- a/
usr.sbin/fw_update/fw_update.sh
+++ b/
usr.sbin/fw_update/fw_update.sh
@@
-1,5
+1,5
@@
#!/bin/ksh
-# $OpenBSD: fw_update.sh,v 1.4
3 2022/08/05 18:01:40
afresh1 Exp $
+# $OpenBSD: fw_update.sh,v 1.4
4 2022/12/12 02:30:51
afresh1 Exp $
#
# Copyright (c) 2021 Andrew Hewus Fresh <afresh1@openbsd.org>
#
@@
-405,7
+405,7
@@
if [ "$LOCALSRC" ]; then
FWURL="${LOCALSRC}"
LOCALSRC=
else
- LOCALSRC="${LOCALSRC
:
#file:}"
+ LOCALSRC="${LOCALSRC#file:}"
! [ -d "$LOCALSRC" ] &&
echo "The path must be a URL or an existing directory" >&2 &&
exit 1