12 lines
169 B
Bash
12 lines
169 B
Bash
#!/bin/sh
|
|
set -eu
|
|
set -f
|
|
|
|
if ! nix --version; then
|
|
exit 0
|
|
fi
|
|
|
|
export IFS=' '
|
|
echo "Uploading paths" $OUT_PATHS
|
|
exec nix copy --to "ssh://n100@192.168.1.12" $OUT_PATHS
|