Revision 54a97578981a27b4af5c4d62681c233fd89b9f65 authored by Forrest Tanaka on 04 May 2016, 22:38:42 UTC, committed by Forrest Tanaka on 04 May 2016, 22:38:42 UTC
Now concatenate biosample.construct and biosample.model_organism_donor_construct arrays to display them all together in the biosample summary panel.
1 parent 12710d5
Raw File
postinstall.sh
#!/bin/sh

# Apply patches to installed modules.
for package_name in $(cd node_patches && ls -d *)
do
    for found_package in $(find node_modules -path *node_modules/$package_name -type d)
    do
        for patch_file in $(find node_patches/$package_name -type f)
        do
            echo "Patching $package_name at $found_package with $patch_file"
            patch -p1 -f -i $(pwd)/$patch_file -d $found_package || echo already applied
        done
    done
done
back to top