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 eab21b0 commit b87167aCopy full SHA for b87167a
main.sh
@@ -92,9 +92,9 @@ for c in $CONNECTORS; do
92
rmdir "$DIR"
93
ln -rs "pinouts/$DIRECTORY" "$DIR"
94
# If temp dir is a link, but not to the specified directory
95
- elif TARGET=$(readlink "$DIR") && [ "$TARGET" != "$(readlink "pinouts/$DIRECTORY")" ]; then
+ elif TARGET=$(readlink -f "$DIR") && [ "$TARGET" != "$(realpath "pinouts/$DIRECTORY")" ]; then
96
if [ "$DEBUG" = "true" ]; then
97
- echo "Found Directory is link to another directory: $TARGET vs $(readlink "pinouts/$DIRECTORY")"
+ echo "Found Directory is link to another directory: $TARGET vs $(realpath "pinouts/$DIRECTORY")"
98
fi
99
# Make specified directory
100
mkdir -p "pinouts/$DIRECTORY"
0 commit comments