Last active
October 4, 2023 04:42
-
-
Save daparic/3cecfd6009da8d138fde9d8e123c9e62 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_configs () | |
| { | |
| if [ ! -d $1 ]; then | |
| echo "*** cannot find ***"; | |
| return; | |
| fi; | |
| local x=$(find $1 -type d -name configs); | |
| tar xf ~/configs.tar -C $x/c++test --strip-components=1 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment