Lines Matching refs:TMPDIR
116 TMPDIR=/tmp/ndk-$USER/$PKGNAME
117 log "Creating temporary directory $TMPDIR"
118 rm -rf $TMPDIR && mkdir $TMPDIR
119 fail_panic "Could not create temporary directory: $TMPDIR"
173 (mkdir -p $TMPDIR/$SUBDIR/$NAME && cd $TMPDIR/$SUBDIR/$NAME && run $GITCMD $GITOPTS checkout $REVISION "$@")
183 cd $TMPDIR
185 CLONE_DIR=$TMPDIR/git
234 (cd "$TMPDIR/llvm-$LLVM_VERSION/llvm" && \
240 (cd "$TMPDIR/llvm-$LLVM_VERSION/llvm" && \
245 (test -d "$TMPDIR/llvm-$LLVM_VERSION/polly" && \
246 cd "$TMPDIR/llvm-$LLVM_VERSION/polly" && \
257 run $PROGDIR/patch-sources.sh $FLAGS $TMPDIR $PATCHES_DIR
270 find $TMPDIR -type f -a -name "*.info" ! -name sysroff.info -print0 | xargs -0 rm -f
276 pack_archive "$PACKAGE" "$TMPDIR" "."
286 mv "$TMPDIR"/* "$SRC_DIR" #copy_directory "$TMPDIR" "$SRC_DIR"
287 fail_panic "Could not move to target source directory: $TMPDIR -> $SRC_DIR"
292 rm -rf $TMPDIR