about summary refs log tree commit diff
path: root/pkgs/stdenv/freebsd/linkBootstrap.sh
blob: 19b491d2c3c40c2708dde30523e0d1a3fcf41e08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env bash

for path in $paths; do
    if ! [ -e "$src/$path" ]; then
        echo "Error: $path does not exist"
        exit 1
    fi
    mkdir -p $out/$(dirname $path)
    ln -s $src/$path $out/$path
done