mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Update build/npm-post-build.sh
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
This commit is contained in:
parent
f069b30e27
commit
bcbef7aaa8
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ npm run sass:icons
|
|||
# Add licenses for source maps
|
||||
if [ -d "dist" ]; then
|
||||
for f in dist/*.js; do
|
||||
# If license file and source map exists copy license for the sourcemap
|
||||
# If license file and source map exists copy license for the source map
|
||||
if [ -f "$f.license" ] && [ -f "$f.map" ]; then
|
||||
# Remove existing link
|
||||
[ -e "$f.map.license" ] || [ -L "$f.map.license" ] && rm "$f.map.license"
|
||||
|
|
|
|||
Loading…
Reference in a new issue