blob: b1e6637ee87e1a4b471ed3e18db5e6473a9383a8 [file] [log] [blame]
#! /bin/sh
# Copyright 2021 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.
# This script runs the given command line, after cutting off the first argument
# and using it as a stamp file.
_stamp_file="$1"
shift
"${@}" && touch "$_stamp_file"