blob: 5c9e13692b940db5a5eaefa2c2982a11e6300af9 [file] [log] [blame]
#!/bin/sh
# Copyright 2019 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Helper script to run a given command and then produce a stamp file.
stamp_file="$1"
shift
"$@" && touch "$stamp_file"