diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-04-03 05:15:00 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-04-03 05:15:00 +0300 |
commit | fc91066907e4d16a951c8d72d23aa610945f5407 (patch) | |
tree | 8d66ab33ae012ba185810b7462cd58687b6be38b /bin/ak-articles | |
parent | ad7d6281475c4adb67e0a43017803aeb4a9059ce (diff) | |
download | arching-kaos-tools-fc91066907e4d16a951c8d72d23aa610945f5407.tar.gz arching-kaos-tools-fc91066907e4d16a951c8d72d23aa610945f5407.tar.bz2 arching-kaos-tools-fc91066907e4d16a951c8d72d23aa610945f5407.zip |
Clean up, elimination of duplicate tempassins, fixed current directory problems, introduced new tool
Diffstat (limited to 'bin/ak-articles')
-rwxr-xr-x | bin/ak-articles | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ak-articles b/bin/ak-articles index e198712..9256d2a 100755 --- a/bin/ak-articles +++ b/bin/ak-articles @@ -72,7 +72,7 @@ import(){ fi exit 224 } -add() +add(){ TEMP="$(ak-tempassin)" cd $TEMP if [ -f $1 ]; then @@ -97,7 +97,7 @@ EOF echo "File $FILE doesn't exist"; exit 2 fi - ak-pack_z_block "articles/add" data + ak-pack_z_block "articles/add" $(pwd)/data if [ $? == 0 ] then echo "Articles added successfully" |