summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/lib/ptxd_make_xpkg_pkg.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/ptxd_make_xpkg_pkg.sh b/scripts/lib/ptxd_make_xpkg_pkg.sh
index 7812dfa91..058bdf650 100644
--- a/scripts/lib/ptxd_make_xpkg_pkg.sh
+++ b/scripts/lib/ptxd_make_xpkg_pkg.sh
@@ -10,7 +10,7 @@
ptxd_exist() {
for file in "${@}"; do
- if [ ! -f "${file}" ]; then
+ if [ ! -e "${file}" ]; then
echo -e "\nError: file not found: ${file}\n"
return 1
fi
@@ -71,7 +71,7 @@ ptxd_install_setup_src() {
fi
for src in "${list[@]}"; do
- if [ -f "${src}" ]; then
+ if [ -e "${src}" ]; then
return
fi
done