forked from pool/local-npm-registry
- Escape quilt setup
invoked section in the helper script
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/local-npm-registry?expand=0&rev=11
This commit is contained in:
parent
da60278f99
commit
f925ba16b9
@ -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
|
Fri Jul 21 12:59:44 UTC 2023 - Adam Majer <adam.majer@suse.de> 1.0.1
|
||||||
|
|
||||||
|
@ -44,10 +44,10 @@ cp -r dist node_modules %{buildroot}%{_datadir}/%{name}
|
|||||||
cat > %{buildroot}%{_bindir}/local-npm-registry << EOF
|
cat > %{buildroot}%{_bindir}/local-npm-registry << EOF
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if [ "x$QUILT_COMMAND" = "xsetup" ]
|
if [ "x\$QUILT_COMMAND" = "xsetup" ]
|
||||||
then
|
then
|
||||||
echo "Run in setup mode. 'npm install' skipped. Run 'npm ci' manually."
|
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
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user