https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
5 lines
80 B
Bash
Executable file
5 lines
80 B
Bash
Executable file
#! /bin/sh
|
|
|
|
rm -rf test;
|
|
mkdir test;
|
|
for i in *.sh; do ln -s ../$i test; done;
|