We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8130461 commit 60ed7ceCopy full SHA for 60ed7ce
main.sh
@@ -38,8 +38,8 @@ for c in $CONNECTORS; do
38
# Make specified directory
39
mkdir -p "pinouts/$DIRECTORY"
40
# Move the contents of the directory the link points to, and remove that directory
41
- mv "$(readlink "$DIR")"/* "pinouts/$DIRECTORY"
42
- rmdir "$(readlink "$DIR")"
+ mv "$(readlink -f "$DIR")"/* "pinouts/$DIRECTORY"
+ rmdir "$(readlink -f "$DIR")"
43
# Link to specified directory
44
rm "$DIR"
45
ln -rs "pinouts/$DIRECTORY" "$DIR"
0 commit comments