aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-tempassin
blob: 6831dc2b337f3850d37f96946acb7377fb40f3d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
AK_TEMP="$(mktemp -d /tmp/aktmp-XXXXXXX)"
PROGRAM="$(basename $0)"
source $AK_LIBDIR/_ak_log

if [ ! -d "$AK_TEMP" ]
then
    _ak_log_error "Could not make $AK_TEMP directory to work in"
    echo "Could not make $AK_TEMP directory to work in"
    exit 1
fi

_ak_log_info "$AK_TEMP created successfully"
echo "$AK_TEMP"