mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-04 15:16:57 +00:00
scripts: Fix helper edge cases
Propagate patch and module-list failures, normalize the script directory, and expand the actual Mercurial subrepository name when matching paths. Keep the existing no-optional-patches behavior unchanged.
This commit is contained in:
@@ -8,7 +8,7 @@ prefix_matches() {
|
||||
f="$1"
|
||||
shift
|
||||
for s in "$@"; do
|
||||
if [ "$f" = "$s" ] || [ "${f#s/}" != "$f" ]; then
|
||||
if [ "$f" = "$s" ] || [ "${f#"$s/"}" != "$f" ]; then
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user