mirror of
https://github.com/ilyakooo0/nix-bundle.git
synced 2024-08-15 18:00:47 +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."
|
echo "Nix bundle created at $filename."
|
||||||
cp -f "$out" "$filename"
|
cp -f "$out" "$filename"
|
||||||
else
|
else
|
||||||
cat "$out"
|
echo "$out"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user