Skip to content

Commit

Permalink
Merge pull request #49 from foxsouns/spkg-file-fix
Browse files Browse the repository at this point in the history
fix filelistftr()
  • Loading branch information
willeccles authored Oct 22, 2021
2 parents 57710f0 + fc9c94a commit 68ff9eb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cpm
Original file line number Diff line number Diff line change
Expand Up @@ -182,12 +182,9 @@ filelistftr() {
[ "$line" = "$str" ] && found=1
[ "$found" ] && printf "%s\n" "$line"
done <"$pkginfo"
elif [ -d $2 ]; then
pem "Not in $2, check input or try updating."
elif [ -d "$dir" ]; then
pem "Not in $dir, check input or try updating."
else
pem "$2 does not exist, are you using the right PM?"
pem "$dir does not exist, are you using the right PM?"
fi
}
Expand Down

0 comments on commit 68ff9eb

Please sign in to comment.