Fix libs download for release and add FS::mounpoint() getter
This commit is contained in:
parent
822f252b35
commit
7cf353bdd1
3 changed files with 11 additions and 1 deletions
2
.github/scripts/on-release.sh
vendored
2
.github/scripts/on-release.sh
vendored
|
|
@ -254,7 +254,7 @@ LIBS_PACKAGE_SRC_URL=`cat $PACKAGE_JSON_TEMPLATE | jq -r ".packages[0].tools[] |
|
||||||
|
|
||||||
# Download the libs package
|
# Download the libs package
|
||||||
echo "Downloading the libs archive ..."
|
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
|
# Extract the libs package
|
||||||
echo "Extracting the archive ..."
|
echo "Extracting the archive ..."
|
||||||
|
|
|
||||||
|
|
@ -300,6 +300,14 @@ bool FS::rmdir(const String &path)
|
||||||
return rmdir(path.c_str());
|
return rmdir(path.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char * FS::mountpoint()
|
||||||
|
{
|
||||||
|
if (!_impl) {
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
return _impl->mountpoint();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void FSImpl::mountpoint(const char * mp)
|
void FSImpl::mountpoint(const char * mp)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -110,6 +110,8 @@ public:
|
||||||
|
|
||||||
bool rmdir(const char *path);
|
bool rmdir(const char *path);
|
||||||
bool rmdir(const String &path);
|
bool rmdir(const String &path);
|
||||||
|
|
||||||
|
const char * mountpoint();
|
||||||
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue