summarylogtreecommitdiffstats
path: root/run.sh
diff options
context:
space:
mode:
authorfrnmst/Franco Masotti2016-10-25 17:11:48 +0200
committerfrnmst/Franco Masotti2016-10-25 17:11:48 +0200
commiteb0a4126d3f407079a2d2d15725b99f053a6e8c1 (patch)
tree08b38149a3c32485510e62a2b53590e876e81135 /run.sh
parent3ea834723db30a2bbd1d3706b2434a69b3cb19a5 (diff)
downloadaur-eb0a4126d3f407079a2d2d15725b99f053a6e8c1.tar.gz
Fixed problem when saving files.
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/run.sh b/run.sh
index a4721e3bc488..7a446416fff5 100755
--- a/run.sh
+++ b/run.sh
@@ -65,7 +65,10 @@ startd()
local pid=""
{
- ( exec swipl --quiet -f "$pkg_dir"/run.pl ) &
+ (
+ cd "$pkg_dir"
+ exec swipl --quiet -f "$pkg_dir"/run.pl
+ ) &
pid="$!"
} 1>/dev/null 2>/dev/null