Skip to content

Commit e1e1000

Browse files
committed
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.
1 parent c5f2dfc commit e1e1000

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nix-bundle.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@ elif [ -t 1 ]; then
5959
echo "Nix bundle created at $filename."
6060
cp -f "$out" "$filename"
6161
else
62-
cat "$out"
62+
echo "$out"
6363
fi

0 commit comments

Comments
 (0)