From 82965fb2d6c3ca529fcb53772b882f307aed2b10 Mon Sep 17 00:00:00 2001 From: Maneesh Gupta Date: Tue, 4 Apr 2017 08:07:56 +0530 Subject: [PATCH] Remove unused packaging scripts Change-Id: I609391b905810eb24f7fd4ea6d7f27166ca001b3 [ROCm/clr commit: 714dd99e2dca23c6f1e407ee067fd8294b243674] --- .../packaging/create_hip_samples_installer.sh | 23 ------------------- 1 file changed, 23 deletions(-) delete mode 100755 projects/clr/hipamd/packaging/create_hip_samples_installer.sh diff --git a/projects/clr/hipamd/packaging/create_hip_samples_installer.sh b/projects/clr/hipamd/packaging/create_hip_samples_installer.sh deleted file mode 100755 index 91789d2524..0000000000 --- a/projects/clr/hipamd/packaging/create_hip_samples_installer.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash -function die { - echo "${1-Died}." >&2 - exit 1 -} - -payload=$1 -script=$2 -[ "$payload" != "" ] || [ "$script" != "" ] || die "Invalid arguments!" -tmp=__extract__$RANDOM - -printf "#!/bin/bash -samples_dir=\$1 -[ \"\$samples_dir\" != \"\" ] || read -e -p \"Enter the path to extract the HIP samples: \" samples_dir -mkdir -p \$samples_dir -PAYLOAD=\`awk '/^__PAYLOAD_BELOW__/ {print NR + 1; exit 0; }' \$0\` -tail -n+\$PAYLOAD \$0 | tar -xz -C \$samples_dir -echo \"HIP samples installed in \$samples_dir\" -exit 0 -__PAYLOAD_BELOW__\n" > "$tmp" - -cat "$tmp" "$payload" > "$script" && rm "$tmp" -chmod +x "$script"