chore : change for package using
This commit is contained in:
@@ -1,8 +1,20 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
|
# Relative path to the package
|
||||||
|
PACKAGE_PATH="../packages/core"
|
||||||
|
|
||||||
|
# Get absolute path to the package
|
||||||
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||||
|
PACKAGE_ABS_PATH="$SCRIPT_DIR/$PACKAGE_PATH"
|
||||||
|
|
||||||
|
echo "🗃️ package path: $PACKAGE_ABS_PATH"
|
||||||
|
|
||||||
# Directory to read files from
|
# Directory to read files from
|
||||||
sourcePath="assets/icons"
|
sourcePath="$PACKAGE_ABS_PATH/assets/icons"
|
||||||
targetPath="assets/vec"
|
targetPath="$PACKAGE_ABS_PATH/assets/vec"
|
||||||
|
echo "🗃️ sourcePath path: $sourcePath"
|
||||||
|
echo "🗃️ targetPath path: $targetPath"
|
||||||
|
|
||||||
|
|
||||||
if [ ! -e "$targetPath" ]; then
|
if [ ! -e "$targetPath" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user