mirror of
https://github.com/ilyakooo0/nix-bundle.git
synced 2024-07-14 10:10:40 +03:00
nix-bundle: print the output path instead
When nix-bundle is invoked without a TTY, output the store path instead of catting the content. This allows more flexibility.
This commit is contained in:
parent
c5f2dfc736
commit
e1e1000ec2
@ -59,5 +59,5 @@ elif [ -t 1 ]; then
|
||||
echo "Nix bundle created at $filename."
|
||||
cp -f "$out" "$filename"
|
||||
else
|
||||
cat "$out"
|
||||
echo "$out"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user