Commit 7cf353bd authored by me-no-dev's avatar me-no-dev

Fix libs download for release and add FS::mounpoint() getter

parent 822f252b
......@@ -254,7 +254,7 @@ LIBS_PACKAGE_SRC_URL=`cat $PACKAGE_JSON_TEMPLATE | jq -r ".packages[0].tools[] |
# Download the libs package
echo "Downloading the libs archive ..."
# curl -o "$LIBS_PACKAGE_SRC_ZIP" -LJO --url "$LIBS_PACKAGE_SRC_URL" || exit 1
curl -o "$LIBS_PACKAGE_SRC_ZIP" -LJO --url "$LIBS_PACKAGE_SRC_URL" || exit 1
# Extract the libs package
echo "Extracting the archive ..."
......
......@@ -300,6 +300,14 @@ bool FS::rmdir(const String &path)
return rmdir(path.c_str());
}
const char * FS::mountpoint()
{
if (!_impl) {
return NULL;
}
return _impl->mountpoint();
}
void FSImpl::mountpoint(const char * mp)
{
......
......@@ -110,6 +110,8 @@ public:
bool rmdir(const char *path);
bool rmdir(const String &path);
const char * mountpoint();
protected:
......
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