We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32679d4 commit 57359f4Copy full SHA for 57359f4
1 file changed
svn2github.sh
@@ -1,8 +1,12 @@
1
## Include files in the current working directory
2
-INC_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
3
-source ${INC_DIR}/_functions.sh
+if [[ $(uname) != 'Linux' ]]
+then
4
+ source _functions.sh
5
+else
6
+ INC_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
7
+ [[ -f ${INC_DIR}/_functions.sh ]] && source ${INC_DIR}/_functions.sh
8
+fi
9
-_cleanup
10
_welcome
11
_setup
12
_svn_sizer
0 commit comments