2
0

Accepting request 1135647 from devel:languages:javascript

- Escape `quilt setup` invoked section in the helper script

OBS-URL: https://build.opensuse.org/request/show/1135647
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/local-npm-registry?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2024-01-04 14:56:11 +00:00 committed by Git OBS Bridge
commit 2501ab9e3a
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 29 11:02:40 UTC 2023 - Adam Majer <adam.majer@suse.de>
- Escape `quilt setup` invoked section in the helper script
-------------------------------------------------------------------
Fri Jul 21 12:59:44 UTC 2023 - Adam Majer <adam.majer@suse.de> 1.0.1

View File

@ -44,10 +44,10 @@ cp -r dist node_modules %{buildroot}%{_datadir}/%{name}
cat > %{buildroot}%{_bindir}/local-npm-registry << EOF
#!/bin/sh
if [ "x$QUILT_COMMAND" = "xsetup" ]
if [ "x\$QUILT_COMMAND" = "xsetup" ]
then
echo "Run in setup mode. 'npm install' skipped. Run 'npm ci' manually."
cp "$RPM_SOURCE_DIR/package-lock.json" .
cp "\$RPM_SOURCE_DIR/package-lock.json" .
exit 0
fi