Sharp.Augeas/CodeLiturgy.Augeas/copyLibrary.sh

13 lines
453 B
Bash
Executable File

#!/bin/bash
# Given the compiled library "claugeaslib" we need to copy it to the folder where the .NET
# executables are.
# Intructions:
# 1. Set the $CLAUG_LIB_PATH to the PATH where the claugeas library is located before running this project
# 2- Run this shell script
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
DESTIN=$SCRIPT_DIR/bin/Debug/net6.0
BINARY=$CLAUG_LIB_PATH/libclAugeas.dylib
cp -f $BINARY $DESTIN