summarylogtreecommitdiffstats
path: root/run.sh
diff options
context:
space:
mode:
authorfrnmst/Franco Masotti2016-10-25 16:57:28 +0200
committerfrnmst/Franco Masotti2016-10-25 16:57:28 +0200
commitf2e30c272d07932a1da9cdc26d10a19cff05aebe (patch)
tree9f39b513d25f0ac87365b2ded887873713eb8685 /run.sh
parent66a33ab3bc830ca6f894896710e4f9aa87f43c96 (diff)
downloadaur-f2e30c272d07932a1da9cdc26d10a19cff05aebe.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 d4df42a8f280..7f3b99d65f1f 100755
--- a/run.sh
+++ b/run.sh
@@ -88,7 +88,10 @@ startd()
local pid=""
{
- ( initialize && exec swipl --quiet -f "$pkg_dir"/run.pl ) &
+ (
+ cd "$pkg_dir"
+ initialize && exec swipl --quiet -f "$pkg_dir"/run.pl
+ ) &
pid="$!"
} 1>/dev/null 2>/dev/null