Skip to content

Commit bfb5611

Browse files
committed
Use . instead of source for shell compatibility
e.g. /opt/filebot-node/start: 18: source: not found
1 parent c5f2fb1 commit bfb5611

30 files changed

+30
-30
lines changed

package/generic/start

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export FILEBOT_NODE_CLIENT="client"
3333

3434
# import user environment
3535
if [ -f "$FILEBOT_NODE_DATA/environment.sh" ]; then
36-
source "$FILEBOT_NODE_DATA/environment.sh"
36+
. "$FILEBOT_NODE_DATA/environment.sh"
3737
fi
3838

3939

package/generic/task

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ fi
1313

1414
# import user environment
1515
if [ -f "$FILEBOT_NODE_DATA/environment.sh" ]; then
16-
source "$FILEBOT_NODE_DATA/environment.sh"
16+
. "$FILEBOT_NODE_DATA/environment.sh"
1717
fi
1818

1919

package/qnap/shared/start

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ cd "$QPKG_ROOT"
3030

3131

3232
# import user environment
33-
source "$FILEBOT_NODE_DATA/environment.sh"
33+
. "$FILEBOT_NODE_DATA/environment.sh"
3434

3535

3636
# sanity check

package/qnap/shared/task

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fi
1414

1515

1616
# import user environment
17-
source "$FILEBOT_NODE_DATA/environment.sh"
17+
. "$FILEBOT_NODE_DATA/environment.sh"
1818

1919

2020
# execute filebot task and record output

package/synology-dsm7/target/bin/filebot-node-start

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cd "/var/packages/filebot-node/target"
2727

2828

2929
# import user environment
30-
source "$FILEBOT_NODE_DATA/environment.sh"
30+
. "$FILEBOT_NODE_DATA/environment.sh"
3131

3232

3333
exec node "server/app.js"

package/synology-dsm7/target/bin/filebot-node-task

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fi
1212

1313

1414
# import user environment
15-
source "$FILEBOT_NODE_DATA/environment.sh"
15+
. "$FILEBOT_NODE_DATA/environment.sh"
1616

1717

1818
# execute filebot task and record output
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh
2-
source /usr/syno/synoman/webman/3rdparty/filebot-node/proxy_pass.cgi
2+
. /usr/syno/synoman/webman/3rdparty/filebot-node/proxy_pass.cgi
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh
2-
source /usr/syno/synoman/webman/3rdparty/filebot-node/proxy_pass.cgi
2+
. /usr/syno/synoman/webman/3rdparty/filebot-node/proxy_pass.cgi
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh
2-
source /usr/syno/synoman/webman/3rdparty/filebot-node/proxy_pass.cgi
2+
. /usr/syno/synoman/webman/3rdparty/filebot-node/proxy_pass.cgi
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh
2-
source /usr/syno/synoman/webman/3rdparty/filebot-node/proxy_pass.cgi
2+
. /usr/syno/synoman/webman/3rdparty/filebot-node/proxy_pass.cgi

0 commit comments

Comments
 (0)