aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-news
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-news')
-rwxr-xr-xbin/ak-news4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ak-news b/bin/ak-news
index 812ef34..1c0a440 100755
--- a/bin/ak-news
+++ b/bin/ak-news
@@ -105,7 +105,7 @@ EOF
echo "File $FILE doesn't exist";
exit 2
fi
- ak-pack_z_block "news/add" data
+ ak-pack_z_block "news/add" $(pwd)/data
if [ $? == 0 ]
then
echo "News added successfully"
@@ -139,7 +139,7 @@ EOF
echo "File $FILE doesn't exist";
exit 2
fi
- ak-pack_z_block "news/add" data
+ ak-pack_z_block "news/add" $(pwd)/data
if [ $? == 0 ]
then
echo "News added successfully"