Skip to content

Commit

Permalink
Fix workaround only working for examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jacodg committed Nov 14, 2023
1 parent 1892f22 commit cfeae0d
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ant.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# This file is generated by build.xml
FR_DIR="`pwd`/${BASH_SOURCE%/*}/"
if [[ `pwd` == ${BASH_SOURCE%/*}* ]]; then
if [[ ${BASH_SOURCE:0:1} == "/" ]]; then
# Workaround for VSCode Task Explorer on Mac and Linux
FR_DIR="${BASH_SOURCE%/*}/"
fi
Expand Down
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ endlocal & SET JAVA_HOME=%JAVA_HOME% & SET ANT_HOME=%ANT_HOME% & SET
<echo file="${filename}.sh">#!/bin/bash
# This file is generated by build.xml
FR_DIR="`pwd`/$${BASH_SOURCE%/*}/"
if [[ `pwd` == $${BASH_SOURCE%/*}* ]]; then
if [[ $${BASH_SOURCE:0:1} == "/" ]]; then
# Workaround for VSCode Task Explorer on Mac and Linux
FR_DIR="$${BASH_SOURCE%/*}/"
fi
Expand Down
2 changes: 1 addition & 1 deletion env.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# This file is generated by build.xml
FR_DIR="`pwd`/${BASH_SOURCE%/*}/"
if [[ `pwd` == ${BASH_SOURCE%/*}* ]]; then
if [[ ${BASH_SOURCE:0:1} == "/" ]]; then
# Workaround for VSCode Task Explorer on Mac and Linux
FR_DIR="${BASH_SOURCE%/*}/"
fi
Expand Down
2 changes: 1 addition & 1 deletion mvn.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# This file is generated by build.xml
FR_DIR="`pwd`/${BASH_SOURCE%/*}/"
if [[ `pwd` == ${BASH_SOURCE%/*}* ]]; then
if [[ ${BASH_SOURCE:0:1} == "/" ]]; then
# Workaround for VSCode Task Explorer on Mac and Linux
FR_DIR="${BASH_SOURCE%/*}/"
fi
Expand Down
2 changes: 1 addition & 1 deletion rerun.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# This file is generated by build.xml
FR_DIR="`pwd`/${BASH_SOURCE%/*}/"
if [[ `pwd` == ${BASH_SOURCE%/*}* ]]; then
if [[ ${BASH_SOURCE:0:1} == "/" ]]; then
# Workaround for VSCode Task Explorer on Mac and Linux
FR_DIR="${BASH_SOURCE%/*}/"
fi
Expand Down
2 changes: 1 addition & 1 deletion restart.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# This file is generated by build.xml
FR_DIR="`pwd`/${BASH_SOURCE%/*}/"
if [[ `pwd` == ${BASH_SOURCE%/*}* ]]; then
if [[ ${BASH_SOURCE:0:1} == "/" ]]; then
# Workaround for VSCode Task Explorer on Mac and Linux
FR_DIR="${BASH_SOURCE%/*}/"
fi
Expand Down
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# This file is generated by build.xml
FR_DIR="`pwd`/${BASH_SOURCE%/*}/"
if [[ `pwd` == ${BASH_SOURCE%/*}* ]]; then
if [[ ${BASH_SOURCE:0:1} == "/" ]]; then
# Workaround for VSCode Task Explorer on Mac and Linux
FR_DIR="${BASH_SOURCE%/*}/"
fi
Expand Down
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# This file is generated by build.xml
FR_DIR="`pwd`/${BASH_SOURCE%/*}/"
if [[ `pwd` == ${BASH_SOURCE%/*}* ]]; then
if [[ ${BASH_SOURCE:0:1} == "/" ]]; then
# Workaround for VSCode Task Explorer on Mac and Linux
FR_DIR="${BASH_SOURCE%/*}/"
fi
Expand Down
2 changes: 1 addition & 1 deletion stop.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# This file is generated by build.xml
FR_DIR="`pwd`/${BASH_SOURCE%/*}/"
if [[ `pwd` == ${BASH_SOURCE%/*}* ]]; then
if [[ ${BASH_SOURCE:0:1} == "/" ]]; then
# Workaround for VSCode Task Explorer on Mac and Linux
FR_DIR="${BASH_SOURCE%/*}/"
fi
Expand Down

0 comments on commit cfeae0d

Please sign in to comment.