which is not a builtin

This commit is contained in:
Jack L. Frost 2014-10-20 11:50:10 +04:00
parent a1f8c5b55f
commit 03d29593f5
1 changed files with 1 additions and 1 deletions

2
sup
View File

@ -49,7 +49,7 @@ sup.mktemp() {
sup.scrot() {
local tmp_file
[[ "$scrot_exec" ]] || { scrot_exec=`which scrot`; }
[[ "$scrot_exec" ]] || { scrot_exec=`type -P scrot`; }
[[ "$scrot_exec" ]] || {
sup.err "Please install scrot to use this function"
return 1