mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
package install: fix a non-POSIX-ism (re: dde4451b
)
'bin/package install' breaks on pure POSIX shells because I used the regex negator ^ instead of the glob pattern negator ! in a glob pattern bracket pattern. Oops.
This commit is contained in:
parent
cd18b4f7f4
commit
c848433d41
2 changed files with 2 additions and 2 deletions
|
@ -2667,7 +2667,7 @@ do_install() # dir [ command ... ]
|
|||
dd=$1
|
||||
shift
|
||||
case $dd in
|
||||
'' | [^/]*)
|
||||
'' | [!/]*)
|
||||
err_out "ERROR: destination directory '$dd' must begin with a /" ;;
|
||||
esac
|
||||
# commands to install by default
|
||||
|
|
|
@ -2667,7 +2667,7 @@ do_install() # dir [ command ... ]
|
|||
dd=$1
|
||||
shift
|
||||
case $dd in
|
||||
'' | [^/]*)
|
||||
'' | [!/]*)
|
||||
err_out "ERROR: destination directory '$dd' must begin with a /" ;;
|
||||
esac
|
||||
# commands to install by default
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue