GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — CLOUDSTACK-7143: make script compatible with linux mktemp · gitqueue/cloudstack@41ddb6b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • tools/appliance
    • shar_cloud_scripts.sh
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tools/appliance/shar_cloud_scripts.sh‎

Copy file name to clipboardExpand all lines: tools/appliance/shar_cloud_scripts.sh
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ cd ${SCRIPT_DIR}/../..
3030
CLOUDSTACK_DIR=${PWD}
3131
cd ${CURR_DIR}
3232
# ensure we are running in isolation
33-
TEMP_DIR=`mktemp -d -t shar_cloud`
33+
TMPDIR=${TMPDIR:-/tmp}
34+
TMPDIR=${TMPDIR%/}
35+
TEMP_DIR=`mktemp -d ${TMPDIR}/shar_cloud.XXXXXXXX`
3436

3537
cd ${TEMP_DIR}
3638
mkdir cloud_scripts

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.