diff --git a/.github/scripts/on-release.sh b/.github/scripts/on-release.sh index 7a60d6f0f..4a2d6f61b 100755 --- a/.github/scripts/on-release.sh +++ b/.github/scripts/on-release.sh @@ -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 ..." diff --git a/libraries/FS/src/FS.cpp b/libraries/FS/src/FS.cpp index 75821bd4a..e0a0a0acd 100644 --- a/libraries/FS/src/FS.cpp +++ b/libraries/FS/src/FS.cpp @@ -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) { diff --git a/libraries/FS/src/FS.h b/libraries/FS/src/FS.h index ef1a26915..bd04b4970 100644 --- a/libraries/FS/src/FS.h +++ b/libraries/FS/src/FS.h @@ -110,6 +110,8 @@ public: bool rmdir(const char *path); bool rmdir(const String &path); + + const char * mountpoint(); protected: