mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +00:00
chore: don't use symbolic links on Windows builds (#1133)
Cygwin can't resolve them correctly, causing cryptic errors during build. Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
This commit is contained in:
parent
d9bd509d22
commit
2ebef51d38
@ -49,7 +49,7 @@ if [ "$ARGV_PRODUCTION" == "true" ]; then
|
||||
fi
|
||||
|
||||
if [ -n "$ARGV_PREFIX" ]; then
|
||||
ln -s "$PWD/bower.json" "$ARGV_PREFIX/bower.json"
|
||||
cp "$PWD/bower.json" "$ARGV_PREFIX/bower.json"
|
||||
pushd "$ARGV_PREFIX"
|
||||
bower install $INSTALL_OPTS
|
||||
popd
|
||||
|
@ -99,10 +99,10 @@ if [ "$ARGV_PRODUCTION" == "true" ]; then
|
||||
fi
|
||||
|
||||
if [ -n "$ARGV_PREFIX" ]; then
|
||||
ln -s "$PWD/package.json" "$ARGV_PREFIX/package.json"
|
||||
cp "$PWD/package.json" "$ARGV_PREFIX/package.json"
|
||||
|
||||
if [ -f "$PWD/npm-shrinkwrap.json" ]; then
|
||||
ln -s "$PWD/npm-shrinkwrap.json" "$ARGV_PREFIX/npm-shrinkwrap.json"
|
||||
cp "$PWD/npm-shrinkwrap.json" "$ARGV_PREFIX/npm-shrinkwrap.json"
|
||||
fi
|
||||
|
||||
pushd "$ARGV_PREFIX"
|
||||
|
Loading…
x
Reference in New Issue
Block a user