X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=blobdiff_plain;f=scripts%2Fclam%2Fcpp%2Fms_manifest.sh;fp=scripts%2Fclam%2Fcpp%2Fms_manifest.sh;h=0000000000000000000000000000000000000000;hp=94f0f66961f494266861762d8c2d14be0acebc03;hb=de0da7f2f7958d4ba652ff2ef5c79991700141ac;hpb=a4c99c6006b3aa20b5f65f02c2d30db7e790083a diff --git a/scripts/clam/cpp/ms_manifest.sh b/scripts/clam/cpp/ms_manifest.sh deleted file mode 100644 index 94f0f669..00000000 --- a/scripts/clam/cpp/ms_manifest.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash -# the target is the file that needs its manifest stuffed into the file -# itself. the where parameter tells us what index to use when stuffing it. -target=$1; shift -where=$1; shift -if [ -z "$WIN32_MANIFEST_FILE" ]; then - WIN32_MANIFEST_FILE=$CLAM_SCRIPTS/cpp/ms_manifests/security_manifest.txt -fi -for ((count=1 ; count <= 10; count++)); do - error_val=0 - if [ -f "$target.manifest" -a -f "$target" ]; then - bash $BUILD_SCRIPTS_PATH/wrapdoze.sh mt -manifest $target.manifest $WIN32_MANIFEST_FILE -outputresource:$target\;$where >/dev/null - error_val=$? - elif [ -f "$target" ]; then - bash $BUILD_SCRIPTS_PATH/wrapdoze.sh mt -manifest $WIN32_MANIFEST_FILE -outputresource:$target\;$where >/dev/null - error_val=$? - else - echo skipping manifest generation for $target. - if [ ! -f "$target.manifest" ]; then echo manifest file was missing.; fi - if [ ! -f "$target" ]; then echo main file was missing.; fi - break - fi - if [ $error_val -ne 0 ]; then - echo "Error attaching manifest to $target at try #$count." - else - break - fi -done -if [ $error_val -ne 0 ]; then - echo There was an error attaching manifest to $target. - exit 12 -fi -