We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c35675 commit dcd8f14Copy full SHA for dcd8f14
1 file changed
linuxdeploy-plugin-python.sh
@@ -106,6 +106,13 @@ else
106
mkdir -p "${PYTHON_BUILD_DIR}"
107
fi
108
109
+# check if the given sources are a local file or directory; if yes,
110
+# "save" the full path. It might've been given relative to the current
111
+# directory.
112
+if [ -e "${PYTHON_SOURCE}" ]; then
113
+ PYTHON_SOURCE=$( readlink -f "${PYTHON_SOURCE}" )
114
+fi
115
+
116
cd "${PYTHON_BUILD_DIR}"
117
118
0 commit comments