2
0
mirror of https://github.com/boostorg/pfr.git synced 2026-01-19 04:22:13 +00:00

fix strip_boost_namespace.sh work if target pathh is missing

This commit is contained in:
Antony Polukhin
2021-06-10 11:42:19 +03:00
parent 12f2b3a365
commit e51a594dbb

View File

@@ -5,16 +5,16 @@
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
echo "***** Making target path"
TARGET_PATH="`dirname \"$0\"`/../../freestanding_pfr"
rm -rf ${TARGET_PATH}
mkdir ${TARGET_PATH}
TARGET_PATH=`cd "${TARGET_PATH}";pwd`
SOURCE_PATH="`dirname \"$0\"`/.."
SOURCE_PATH=`cd "${SOURCE_PATH}";pwd`
echo "***** Copying from ${SOURCE_PATH} to ${TARGET_PATH}"
rm -rf ${TARGET_PATH}
mkdir ${TARGET_PATH}
cp -rf ${SOURCE_PATH}/* ${TARGET_PATH}
mv ${TARGET_PATH}/include/boost/* ${TARGET_PATH}/include/