diff options
author | Kyle Meyer <kyle@kyleam.com> | 2024-11-03 19:37:52 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2024-11-03 19:37:52 -0500 |
commit | ccaddaf874ccb1e954eb78c36b235e6d606aeb5c (patch) | |
tree | c8eb3d97874e6ce9cb7b6d64de1f569974268bf0 /bin | |
parent | b353618968ae064acfe0e2aac63fb200a3afde2b (diff) | |
download | static-annex-master.tar.gz |
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/check | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -11,6 +11,8 @@ test -f "$tgz" || { exit 2 } +pwd_orig=$(pwd) + tdir=$(mktemp -d "${TMPDIR:-/tmp}"/static-annex-XXXXXXX) tar xzf "$tgz" -C "$tdir" cd "$tdir/git-annex-$version" @@ -32,3 +34,7 @@ command -v git-remote-annex | grep -qF "$base" command -v git-remote-tor-annex | grep -qF "$base" git annex test + +cd "$pwd_orig" +chmod -R 777 "$tdir" +rm -r "$tdir" |