Commit eef0fb48 authored by Steven Knight's avatar Steven Knight

Corrected logic when testing if exists.

parent 1771eec8
function pacdisowned -d "Display list of disowned files" function pacdisowned -d "Display list of disowned files"
if test -d $TMPDIR if test -d "$TMPDIR"
set tmp "/tmp"
else
set tmp $TMPDIR set tmp $TMPDIR
else
set tmp "/tmp"
end end
set dir (mktemp -d -p $tmp) set dir (mktemp -d -p $tmp)
set -l fs "$dir/fs" set -l fs "$dir/fs"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment